mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: region
This commit is contained in:
1 parent
2f10e68e98
commit
176eb1424d
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -145,7 +145,7 @@ export function VoteCaster() {
|
||||
>
|
||||
{postVote === true && (
|
||||
<AlertDialog.Content maxWidth="20rem">
|
||||
<AlertDialog.Title>Vote cased</AlertDialog.Title>
|
||||
<AlertDialog.Title>Vote casted</AlertDialog.Title>
|
||||
<AlertDialog.Description>
|
||||
It may take a few minutes for it to show up.
|
||||
</AlertDialog.Description>
|
||||
|
||||
@@ -12,7 +12,7 @@ export async function isValidBlitzId(id: number, token?: string) {
|
||||
}
|
||||
|
||||
const json = await fetch(
|
||||
`https://api.wotblitz.com/wotb/account/info/?account_id=${
|
||||
`https://api.wotblitz.${region}/wotb/account/info/?account_id=${
|
||||
id
|
||||
}&application_id=${WARGAMING_APPLICATION_ID}${
|
||||
token === undefined ? '' : `&access_token=${token}`
|
||||
|
||||
Reference in new issue
Block a user