This commit is contained in:
parent
8d24ffec29
commit
5f504024a3
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ export function autoMatchRegion() {
|
|||
}
|
||||
}
|
||||
} else if (s.length === 2) {
|
||||
const [lang, region] = s[1];
|
||||
const [lang, region] = s;
|
||||
for (const available of SUPPORTED_REGIONS) {
|
||||
if (available.toLowerCase() === `${lang}_${region}`.toLowerCase()) {
|
||||
return available;
|
||||
|
|
Loading…
Reference in a new issue