mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
fix: region based player search
This commit is contained in:
1 parent
dfe1e37592
commit
1081e836f5
1 file changed
+1
-1
@@ -95,7 +95,7 @@ export default function Page() {
|
||||
if (trimmedSearch) {
|
||||
const encodedSearch = encodeURIComponent(trimmedSearch);
|
||||
const accountList = await fetchBlitz<AccountList>(
|
||||
`https://api.wotblitz.com/wotb/account/list/?application_id=${WARGAMING_APPLICATION_ID}&search=${encodedSearch}&limit=100`,
|
||||
`https://api.wotblitz.${region}/wotb/account/list/?application_id=${WARGAMING_APPLICATION_ID}&search=${encodedSearch}&limit=100`,
|
||||
);
|
||||
|
||||
setSearchResults(
|
||||
|
||||
Reference in new issue
Block a user