Skip to content

Commit

Permalink
fix: typo (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
alan10332000 authored Nov 3, 2023
1 parent 888a135 commit a907721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/final-example/auth.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const authConfig = {
const isOnDashboard = nextUrl.pathname.startsWith('/dashboard');
if (isOnDashboard) {
if (isLoggedIn) return true;
return false; // Redirect unathenticated users to login page
return false; // Redirect unauthenticated users to login page
} else if (isLoggedIn) {
return Response.redirect(new URL('/dashboard', nextUrl));
}
Expand Down

1 comment on commit a907721

@vercel
Copy link

@vercel vercel bot commented on a907721 Nov 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-learn-dashboard – ./dashboard/final-example

next-learn-dashboard-git-main.vercel.sh
next-learn-dashboard.vercel.sh

Please sign in to comment.