fix: logsin

This commit is contained in:
TrèsAbhi committed 2024-09-15 16:20:11 -05:00
1 parent 8670e5f9a7
commit 85491c7f22
16 files changed
+47 -38

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ const isBranchNamed =
<GearIcon />
</Link>
<NavbarAccount client:idle />
<NavbarAccount client:load />
</Flex>
</Flex>
</Flex>
@@ -28,7 +28,7 @@ export function WargamingLoginButton({ children, ...props }: ButtonProps) {
href={
typeof window !== 'undefined'
? `https://api.worldoftanks.${region}/wot/auth/login/?application_id=${assertSecret(
process.env.PUBLIC_WARGAMING_APPLICATION_ID,
import.meta.env.PUBLIC_WARGAMING_APPLICATION_ID,
)}&redirect_uri=${encodeURIComponent(
`${location.origin}/auth/wargaming?return=${location.origin}${location.pathname}`,
)}`