diff --git a/src/hub.html b/src/hub.html index 84fdef5aad8143b197be7d1b2d494c6ea771e44e..d2c83b46a41a107ec32a1b1f477aff555b8e007b 100644 --- a/src/hub.html +++ b/src/hub.html @@ -18,8 +18,9 @@ <script src="https://cdn.rawgit.com/aframevr/aframe/3e7a4b3/dist/aframe-master.js" integrity="sha384-EaMOuyBOi9ERV/lVDwQgz/yFWBDWPsIju5Co6oCZZHXuvbLBO81yPWn80q0BbBn3" crossorigin="anonymous"></script> <% } %> + + <!-- HACK: this has to run after A-Frame but before our bundle, since A-Frame blows away the local storage setting --> <script> - // HACK: this has to run after A-Frame but before our bundle, since A-Frame blows away the local storage setting if (/[&?]debug=true/.test(window.location.search) && typeof localStorage !== "undefined") { localStorage.debug = "naf-janus-adapter:*"; }