Skip to content

Commit

Permalink
Fix: fix example redirect URL in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kmjennison committed Dec 31, 2023
1 parent 2c6edfe commit c80e10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const initAuth = () => init({
const destPath =
typeof window === 'undefined' ? ctx.resolvedUrl : window.location.href
const destURL = new URL(destPath, origin)
return `auth-ssr?destination=${encodeURIComponent(destURL)}`
return `/auth-ssr?destination=${encodeURIComponent(destURL)}`
},

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

0 comments on commit c80e10e

Please sign in to comment.