Fix up paths

This commit is contained in:
49lf
2024-08-14 09:43:54 -04:00
parent cc9aedd1ac
commit ead493684a
2 changed files with 2 additions and 2 deletions

View File

@ -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?.()

View File

@ -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