aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/ts/login.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/ts/login.ts')
-rw-r--r--frontend/ts/login.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/ts/login.ts b/frontend/ts/login.ts
index 658110d..e5dcb00 100644
--- a/frontend/ts/login.ts
+++ b/frontend/ts/login.ts
@@ -12,7 +12,7 @@ class Login {
static clicked = false;
static async start() {
- let res = await (await fetch("/fia/startPoint")).json();
+ let res = await (await fetch("startPoint")).json();
if (res.status === true) {
new StartGame({ data: res.data.data, uid: res.uid });
} else {
@@ -32,11 +32,11 @@ class Login {
alert("Ditt namn är för långt!");
return;
}
-
+
Login.clicked = true;
- let res = await Helpers.mFetch("/fia/login", { name: username });
+ let res = await Helpers.mFetch("login", { name: username });
new StartGame(res);
}
}
-Login.start(); \ No newline at end of file
+Login.start();