chg backend urls
This commit is contained in:
@@ -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: "/" });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user