Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 10d288a

Browse files
committed
fix: vercel fix
1 parent 025e4a1 commit 10d288a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useLoginUrl/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const useLoginUrl = () => {
55
const getUrl = useCallback((language = 'en') => {
66
const { appId, oauth } = getServerConfig();
77
const pathname = window.location.pathname;
8-
const route = pathname.replace(/\//g, '%2F');
8+
const route = pathname.replace(/\//g, '%2F'); //replacement is done for backend to understand the route
99

1010
return generateLoginUrl(language, oauth, appId, route);
1111
}, []);

0 commit comments

Comments
 (0)