Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from EtherealEngine/rename-scene-gltf-source
Browse files Browse the repository at this point in the history
rename-scene-gltf-source
  • Loading branch information
HexaField authored Apr 4, 2024
2 parents c717f2f + bebd177 commit 7ba4710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { createEngine } from '@etherealengine/spatial/src/initializeEngine'

import { ThemeProvider } from '@etherealengine/client-core/src/common/services/ThemeService'

createEngine()
createEngine(document.getElementById('engine-renderer-canvas') as HTMLCanvasElement)
getMutableState(EngineState).publicPath.set(
// @ts-ignore
import.meta.env.BASE_URL === '/client/' ? location.origin : import.meta.env.BASE_URL!.slice(0, -1) // remove trailing '/'
Expand Down

0 comments on commit 7ba4710

Please sign in to comment.