Skip to content

Commit

Permalink
fix to relative path for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver He committed Dec 9, 2024
1 parent dc92989 commit eab26b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
wasmModule = await Module.default({
locateFile: (path) => {
if (path.endsWith('.wasm')) {
return '/wasm/face_blit.wasm';
return './wasm/face_blit.wasm';
}
return path;
},
Expand Down

0 comments on commit eab26b4

Please sign in to comment.