Skip to content
Snippets Groups Projects
Commit 0af960f3 authored by Greg Fodor's avatar Greg Fodor
Browse files

Copy hack into hub.js

parent a7df7e00
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,12 @@ import { patchWebGLRenderingContext } from "./utils/webgl";
patchWebGLRenderingContext();
import "aframe-xr";
// 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 "./vendor/GLTFLoader";
import "networked-aframe/src/index";
import "naf-janus-adapter";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment