diff --git a/src/clientSideScene/sceneInfra.ts b/src/clientSideScene/sceneInfra.ts index 2e3804930..ea75a0d02 100644 --- a/src/clientSideScene/sceneInfra.ts +++ b/src/clientSideScene/sceneInfra.ts @@ -309,7 +309,7 @@ export class SceneInfra { const textureLoader = new TextureLoader() this.extraSegmentTexture = textureLoader.load( - '/clientSideSceneAssets/extra-segment-texture.png' + './clientSideSceneAssets/extra-segment-texture.png' ) this.extraSegmentTexture.anisotropy = this.renderer?.capabilities?.getMaxAnisotropy?.() diff --git a/src/lang/wasm.ts b/src/lang/wasm.ts index b980ffc0f..759f85ff3 100644 --- a/src/lang/wasm.ts +++ b/src/lang/wasm.ts @@ -87,7 +87,7 @@ export type { KclValue } from '../wasm-lib/kcl/bindings/KclValue' export type { ExtrudeSurface } from '../wasm-lib/kcl/bindings/ExtrudeSurface' export const wasmUrl = () => { - const fullUrl = '/wasm_lib_bg.wasm' + const fullUrl = './wasm_lib_bg.wasm' console.log(`Full URL for WASM: ${fullUrl}`) return fullUrl