From b636009422bd3ebb170fbb3102f7cb3313b1aea8 Mon Sep 17 00:00:00 2001 From: jmgiacalone Date: Thu, 19 Mar 2026 20:26:03 +0000 Subject: [PATCH] Bugfix --- frontend/src/components/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Login.vue b/frontend/src/components/Login.vue index 07bc448..783897d 100644 --- a/frontend/src/components/Login.vue +++ b/frontend/src/components/Login.vue @@ -13,7 +13,7 @@ const emit = defineEmits(['nextPage']); async function login(e: SubmitEvent) { text.value = ""; e.preventDefault(); - const res = await fetch("http://localhost:3000/login", { + const res = await fetch("/login", { method: "POST", body: JSON.stringify({ email: email.value, pass: pass.value }), headers: new Headers({'content-type': 'application/json'})