From d39dd3439d5f1de05f4d52db5f16a8236194e1ee Mon Sep 17 00:00:00 2001 From: Charles Ancheta <55412395+cbebe@users.noreply.github.com> Date: Sat, 19 Oct 2024 15:52:43 -0600 Subject: [PATCH] website: Fix URL --- pkg/website/src/components/Interpreter/FyshWrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)