diff --git a/html/src/app.js b/html/src/app.js index de56a17a..7b2bf597 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -819,7 +819,7 @@ speechSynthesis.getVoices(); } } this.region = ''; - if ((this.location !== '') && (!L.isOffline) && (!L.isPrivate)) { + if ((this.location !== '') && (L.instanceId) && (!L.isOffline) && (!L.isPrivate)) { if (L.region === 'eu') { this.region = 'europeanunion'; } else if (L.region === 'jp') { diff --git a/html/src/vr.js b/html/src/vr.js index e8f24a4e..13057f19 100644 --- a/html/src/vr.js +++ b/html/src/vr.js @@ -502,7 +502,7 @@ speechSynthesis.getVoices(); } } this.region = ''; - if ((this.location !== '') && (!L.isOffline) && (!L.isPrivate)) { + if ((this.location !== '') && (L.instanceId) && (!L.isOffline) && (!L.isPrivate)) { if (L.region === 'eu') { this.region = 'europeanunion'; } else if (L.region === 'jp') {