8000 Fix to stop prefetch /logout route. by chozzz · Pull Request #35 · ingra-ai/ingra · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix to stop prefetch /logout route. #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ NEXT_PUBLIC_APP_SESSION_COOKIE_NAME=ING_SESSION
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
# Supabase uses :6543 for pooler connection and :5432 for direct connection
# DATABASE_URL=

# OpenAI GPT Plugins
Expand Down
1 change: 1 addition & 0 deletions .env.live
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ NEXT_PUBLIC_APP_SESSION_COOKIE_NAME=ING_SESSION
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
# Supabase uses :6543 for pooler connection and :5432 for direct connection
# DATABASE_URL=

# OpenAI GPT Plugins
Expand Down
6 changes: 3 additions & 3 deletions components/navs/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const getSideNavRoutes = (authSession: AuthSessionResponse) => {
{
name: 'Marketplace',
description: 'Browse public collections and functions shared by other users.',
href: '/marketplace',
href: '/marketplace/collections',
icon: GlobeIcon,
},
{
Expand Down Expand Up @@ -202,9 +202,9 @@ const SideNav: FC<SideNavProps> = (props) => {
</MenuSection>
{/* <MenuSeparator className="my-1 h-px bg-gray-700" /> */}
<MenuItem>
<Link href="/auth/logout" className="flex font-semibold space-x-2 px-4 py-3 text-xs text-destructive hover:bg-gray-700 hover:text-destructive-foreground" title="Logout">
<a href="/auth/logout" className="flex font-semibold space-x-2 px-4 py-3 text-xs text-destructive hover:bg-gray-700 hover:text-destructive-foreground" title="Logout">
<span className="">Logout</span>
</Link>
</a>
</MenuItem>
</MenuItems>
</Transition>
Expand Down
0