diff --git a/src/hub.html b/src/hub.html index 62d4984389c245fcbba362f07292d16b23864bd1..c1d26a7ce3d6b6cf8cdcb5172ad45044956d474b 100644 --- a/src/hub.html +++ b/src/hub.html @@ -17,6 +17,10 @@ <% } else { %> <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 src="https://cdn.rawgit.com/gfodor/ba8f88d9f34fe9cbe59a01ce3c48420d/raw/03e31f0ef7b9eac5e947bd39e440f34df0701f75/naf-janus-adapter-logging.js" integrity="sha384-4q1V8Q88oeCFriFefFo5uEUtMzbw6K116tFyC9cwbiPr6wEe7050l5HoJUxMvnzj" crossorigin="anonymous"></script> </head> <body data-html-prefix="<%= HTML_PREFIX %>"> diff --git a/src/hub.js b/src/hub.js index e2d486de04ff55aee3661fc42acc6d1e8f8daa9e..da390d985ebe8204892f55b7379719a8b19d26e6 100644 --- a/src/hub.js +++ b/src/hub.js @@ -1,8 +1,3 @@ -// 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:*"; -} - import "./assets/stylesheets/hub.scss"; import moment from "moment-timezone"; import queryString from "query-string";