Skip to content

Commit

Permalink
website: Fix URL
Browse files Browse the repository at this point in the history
  • Loading branch information
cbebe committed Oct 19, 2024
1 parent 8fef251 commit d39dd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/website/src/components/Interpreter/FyshWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d39dd34

Please sign in to comment.