Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: use relative path for logout redirect to avoid port mismatch (#2655)

Om Mishra4dbcc414f309
diff --git a/apps/web/app/logout/page.tsx b/apps/web/app/logout/page.tsx
index 1e43622e..1820b805 100644
--- a/apps/web/app/logout/page.tsx
+++ b/apps/web/app/logout/page.tsx
@@ -17,9 +17,9 @@ export default function Logout() {
signOut({
redirect: false,
callbackUrl: "/",
- }).then((d) => {
+ }).then(() => {
clearHistory();
- router.push(d.url);
+ router.push("/");
});
}, []);
return <span />;