From aea61e9440afd447fa01c6841d68a5f5d9a3f876 Mon Sep 17 00:00:00 2001 From: Alex <$(pass /github/email)> Date: Sun, 29 Sep 2024 21:29:44 +0200 Subject: [PATCH] chg backend urls --- frontend/src/routes/auth/logout/+page.server.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/routes/auth/logout/+page.server.js b/frontend/src/routes/auth/logout/+page.server.js index c042d0d..043ec40 100644 --- a/frontend/src/routes/auth/logout/+page.server.js +++ b/frontend/src/routes/auth/logout/+page.server.js @@ -23,7 +23,7 @@ export const actions = { }; const res = await fetch( - `${BASE_API_URI}/users/backend/logout/`, + `${BASE_API_URI}/backend/users/logout/`, requestInitOptions ); @@ -34,7 +34,6 @@ export const actions = { return fail(400, { errors: errors }); } - // The server should clear the cookie, so we don't need to handle it here // eat the cookie cookies.delete("jwt", { path: "/" });