chg backend urls

This commit is contained in:
Alex
2024-09-29 21:29:44 +02:00
parent 5f1cb4e84f
commit aea61e9440

View File

@@ -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: "/" });