fix signout

This commit is contained in:
Huskydog9988
2025-03-22 16:55:08 -04:00
parent 51dc9cdb2a
commit f2e2c56a5a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ const navigation: NavigationItem[] = [
}, },
{ {
label: "Sign out", label: "Sign out",
route: "/signout", route: "/auth/signout",
prefix: "", prefix: "",
}, },
].filter((e) => e !== undefined); ].filter((e) => e !== undefined);
+1 -1
View File
@@ -42,6 +42,6 @@ const user = useUser();
user.value = null; user.value = null;
// Redirect to signin page after signout // Redirect to signin page after signout
await $dropFetch("/signout"); await $dropFetch("/api/v1/auth/signout"); //TODO: add signout api route
router.push("/auth/signin"); router.push("/auth/signin");
</script> </script>