From 0c64beb48816197cedf1647f90b8d1c6ecdc8a3f Mon Sep 17 00:00:00 2001 From: Julian Yerfino Date: Sun, 5 Dec 2021 20:51:35 -0300 Subject: [PATCH] fix(auth): fix auth path --- utils/initAuth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/initAuth.js b/utils/initAuth.js index 9c96ec1..7e4fd72 100644 --- a/utils/initAuth.js +++ b/utils/initAuth.js @@ -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