summaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 79d5386..79c88d2 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -2,7 +2,7 @@ import "Styles/index.css";
async function goToMain() {
const i = document.getElementsByTagName("input")[0]
- const res = await (await fetch("http://localhost:8000/getFridge.php?name=" + i.value)).text()
+ const res = await (await fetch("http://localhost:8001/getFridge.php?name=" + i.value)).text()
sessionStorage.fridge = res;
location.href = "/main.html"
}