diff --git a/pkg/website/src/components/Interpreter/FyshWrapper.ts b/pkg/website/src/components/Interpreter/FyshWrapper.ts index 1ce93bf..9612335 100644 --- a/pkg/website/src/components/Interpreter/FyshWrapper.ts +++ b/pkg/website/src/components/Interpreter/FyshWrapper.ts @@ -32,7 +32,7 @@ export default class FyshWrapper { printError: this.go.importObject['main.go.printError'], printOut: this.go.importObject['main.go.printOut'], }; - const WASM_URL = 'web-interpreter-opt.wasm'; + const WASM_URL = '/web-interpreter-opt.wasm'; const obj = 'instantiateStreaming' in WebAssembly ? await WebAssembly.instantiateStreaming(fetch(WASM_URL), this.go.importObject)