Spaces:
Sleeping
Sleeping
pngwn
commited on
Commit
•
ae7f0f5
1
Parent(s):
cba1352
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('/config');
|
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('https://pngwn-node-py-test.hf.space/config');
|
4 |
const data = await res.json();
|
5 |
return {
|
6 |
config: data
|