diff --git a/EXAMPLES.md b/EXAMPLES.md index 3d413c8a..8b6c005c 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -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