Переглянути джерело

Update extended.ts

change assetsRootURL to be the absolute path
Raanan Weber 7 роки тому
батько
коміт
1ec63454ac
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      Viewer/src/configuration/types/extended.ts

+ 2 - 2
Viewer/src/configuration/types/extended.ts

@@ -298,7 +298,7 @@ export let extendedConfiguration: ViewerConfiguration = {
         receiveShadows: true
         receiveShadows: true
     },
     },
     lab: {
     lab: {
-        assetsRootURL: '/assets/environment/',
+        assetsRootURL: 'https://viewer.babylonjs.com/assets/environment/',
         environmentMap: {
         environmentMap: {
             texture: "EnvMap_2.0-256.env",
             texture: "EnvMap_2.0-256.env",
             rotationY: 3,
             rotationY: 3,
@@ -311,4 +311,4 @@ export let extendedConfiguration: ViewerConfiguration = {
             bloomWeight: 0.05
             bloomWeight: 0.05
         }
         }
     }
     }
-}
+}