Skip to content

Commit

Permalink
fix(auth): fix auth path
Browse files Browse the repository at this point in the history
  • Loading branch information
yerfinojul committed Dec 5, 2021
1 parent e2600dc commit 0c64beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/initAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const initAuth = () => {
const destPath =
typeof window === 'undefined' ? ctx.resolvedUrl : window.location.href
const destURL = new URL(destPath, origin)
return `auth-ssr?destination=${encodeURIComponent(destURL)}`
return `auth?destination=${encodeURIComponent(destURL)}`
},

// This demonstrates setting a dynamic destination URL when
Expand Down

1 comment on commit 0c64beb

@vercel
Copy link

@vercel vercel bot commented on 0c64beb Dec 5, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.