Add US region tag

This commit is contained in:
Natsumi
2021-06-22 07:05:29 +12:00
parent 369ae989bb
commit d1f15f5724
+3 -3
View File
@@ -9962,13 +9962,13 @@ speechSynthesis.getVoices();
tags.push('~canRequestInvite'); tags.push('~canRequestInvite');
} }
} }
if (D.region !== 'USA') { if (D.region === 'USA') {
if (D.region === 'Europe') { tags.push(`~region(us)`);
} else if (D.region === 'Europe') {
tags.push(`~region(eu)`); tags.push(`~region(eu)`);
} else if (D.region === 'Japan') { } else if (D.region === 'Japan') {
tags.push(`~region(jp)`); tags.push(`~region(jp)`);
} }
}
if (D.accessType !== 'public') { if (D.accessType !== 'public') {
tags.push(`~nonce(${uuidv4()})`); tags.push(`~nonce(${uuidv4()})`);
} }