diff --git a/components/ui/Navbar.tsx b/components/ui/Navbar.tsx index 9b81836..a329b6b 100644 --- a/components/ui/Navbar.tsx +++ b/components/ui/Navbar.tsx @@ -23,7 +23,7 @@ const Navbar = () => { const authenticatedPages: readonly Page[] = [ { slug: '/account', name: 'Account' }, - { slug: '/logout', name: 'Logout' }, + { slug: '/api/users/logout', name: 'Logout' }, ]; const unauthenticatedPages: readonly Page[] = [ @@ -44,7 +44,7 @@ const Navbar = () => { return (