diff --git a/editor/extension.ts b/editor/extension.ts index bd38b955..6147c4d1 100644 --- a/editor/extension.ts +++ b/editor/extension.ts @@ -28,7 +28,8 @@ namespace pxt.editor { let initPromise: Promise function initAsync() { - if (!initPromise) + const forceHexDownload = /forceHexDownload/i.test(window.location.href); + if (!initPromise && Cloud.isLocalHost() && Cloud.localToken && !forceHexDownload) initPromise = hf2Async() .catch(err => { initPromise = null