Compare commits

..

No commits in common. "main" and "invite-page" have entirely different histories.

2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ steps:
- pnpm build - pnpm build
when: when:
- event: push - event: push
- event: pull_request
- name: container-build-and-publish - name: container-build-and-publish
image: docker image: docker

View file

@ -41,7 +41,7 @@ export const useAuth = () => {
async function logout() { async function logout() {
console.log("access:", accessToken.value); console.log("access:", accessToken.value);
await fetchWithApi("/auth/logout", { method: "DELETE", credentials: "include" }); await fetchWithApi("/auth/logout", { method: "GET", credentials: "include" });
clearAuth(); clearAuth();
return await navigateTo("/login"); return await navigateTo("/login");