Spaces:
Sleeping
Sleeping
pngwn
commited on
Commit
•
cba1352
1
Parent(s):
9840eb8
asd
Browse files
src/routes/config-page/+page.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
// @ts-ignore
|
2 |
export async function load({ fetch }) {
|
3 |
-
const res = await fetch('
|
4 |
const data = await res.json();
|
5 |
return {
|
6 |
config: data
|
|
|
1 |
// @ts-ignore
|
2 |
export async function load({ fetch }) {
|
3 |
+
const res = await fetch('/config');
|
4 |
const data = await res.json();
|
5 |
return {
|
6 |
config: data
|