web: small fix to lab when running locally
This commit is contained in:
parent
b7eafdcdd2
commit
66545235e6
1 changed files with 1 additions and 4 deletions
|
|
@ -8,10 +8,7 @@ var fontFamilyName,
|
||||||
fontFamilyNameDisplayVarHinted;
|
fontFamilyNameDisplayVarHinted;
|
||||||
|
|
||||||
;(()=>{
|
;(()=>{
|
||||||
let isLocalServer = (
|
let isLocalServer = document.location.protocol == "http:"
|
||||||
document.location.hostname == "localhost" ||
|
|
||||||
document.location.hostname == "127.0.0.1"
|
|
||||||
);
|
|
||||||
|
|
||||||
const includeLabLocalFiles = isLocalServer
|
const includeLabLocalFiles = isLocalServer
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue