Probably fixes losing query params when deployed via Amplify.

This commit is contained in:
Anton 2023-11-17 00:56:30 +03:00
parent f355ff391c
commit 0958401b3b

View File

@ -46,13 +46,13 @@ function AuthPage({ padLockApng }: AuthPageProps): JSX.Element {
const handleAppleAuth = async () => {
window.location.href = routes.server.appleAuth(
encodeURI(`${window.location.origin}/auth/result`)
encodeURI(`${window.location.origin}/auth/result/`)
);
};
const handleGoogleAuth = async () => {
window.location.href = routes.server.googleAuth(
encodeURI(`${window.location.origin}/auth/result`)
encodeURI(`${window.location.origin}/auth/result/`)
);
};