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;
|
||||
|
||||
;(()=>{
|
||||
let isLocalServer = (
|
||||
document.location.hostname == "localhost" ||
|
||||
document.location.hostname == "127.0.0.1"
|
||||
);
|
||||
let isLocalServer = document.location.protocol == "http:"
|
||||
|
||||
const includeLabLocalFiles = isLocalServer
|
||||
|
||||
|
|
|
|||
Reference in a new issue