Compare commits
No commits in common. "main" and "invite-page" have entirely different histories.
main
...
invite-pag
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ steps:
|
|||
- pnpm build
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
|
||||
- name: container-build-and-publish
|
||||
image: docker
|
||||
|
|
|
@ -41,7 +41,7 @@ export const useAuth = () => {
|
|||
async function logout() {
|
||||
console.log("access:", accessToken.value);
|
||||
|
||||
await fetchWithApi("/auth/logout", { method: "DELETE", credentials: "include" });
|
||||
await fetchWithApi("/auth/logout", { method: "GET", credentials: "include" });
|
||||
clearAuth();
|
||||
|
||||
return await navigateTo("/login");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue