diff --git a/src/hub.js b/src/hub.js index 81bab1168863396dd45b98c274a54403d09197d1..4c1e565ed3fa212b6f61add5ab13113d9765c155 100644 --- a/src/hub.js +++ b/src/hub.js @@ -262,7 +262,12 @@ const onReady = async () => { if (qs.room) { // If ?room is set, this is `yarn start`, so just use a default environment and query string room. uiRoot.setState({ janusRoomId: qs.room && !isNaN(parseInt(qs.room)) ? parseInt(qs.room) : 1 }); - initialEnvironmentEl.setAttribute("gltf-bundle", "src: /assets/environments/cliff_meeting_space/bundle.json"); + initialEnvironmentEl.setAttribute("gltf-bundle", { + // src: "https://asset-bundles-dev.reticulum.io/rooms/cliff_meeting_space/CliffMeetingSpaceMeshes.bundle.json" + src: "https://asset-bundles-dev.reticulum.io/rooms/theater/TheaterMeshes.bundle.json" + // src: "https://asset-bundles-dev.reticulum.io/rooms/atrium/AtriumMeshes.bundle.json" + // src: "https://asset-bundles-dev.reticulum.io/rooms/courtyard/CourtyardMeshes.bundle.json" + }); return; } diff --git a/src/react-components/home-root.js b/src/react-components/home-root.js index 984a3d44c2fbb29973c3f1ed9dee4395d015bfa2..92f56b0bc0a8bc41b778c244560aa415c3c53606 100644 --- a/src/react-components/home-root.js +++ b/src/react-components/home-root.js @@ -16,7 +16,10 @@ addLocaleData([...en]); const messages = localeData[lang] || localeData.en; const ENVIRONMENT_URLS = [ - `${document.location.protocol}//${document.location.host}/assets/environments/cliff_meeting_space/bundle.json` + // "https://asset-bundles-dev.reticulum.io/rooms/cliff_meeting_space/CliffMeetingSpaceMeshes.bundle.json", + "https://asset-bundles-dev.reticulum.io/rooms/theater/TheaterMeshes.bundle.json", + "https://asset-bundles-dev.reticulum.io/rooms/atrium/AtriumMeshes.bundle.json", + "https://asset-bundles-dev.reticulum.io/rooms/courtyard/CourtyardMeshes.bundle.json" ]; class HomeRoot extends Component {