diff --git a/src/routes/login/+page.svelte b/src/routes/login/+page.svelte index 3061643b..b00ef7e2 100644 --- a/src/routes/login/+page.svelte +++ b/src/routes/login/+page.svelte @@ -4,7 +4,7 @@ let message = ''; async function submitLogin() { - const success = await fetch('/api/auth/new', { + const success = await fetch('/api/auth', { method: 'POST', headers: { 'Content-Type': 'application/json'