pngwn commited on
Commit
cba1352
1 Parent(s): 9840eb8
Files changed (1) hide show
  1. src/routes/config-page/+page.ts +1 -1
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('http://127.0.0.1:7860/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('/config');
4
  const data = await res.json();
5
  return {
6
  config: data