From c80e10ea6dda4c4fbc5e77cd0a0c4b79d5d0e677 Mon Sep 17 00:00:00 2001 From: Kevin Jennison Date: Sun, 31 Dec 2023 15:46:11 -0500 Subject: [PATCH] Fix: fix example redirect URL in documentation --- EXAMPLES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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