Skip to content

Commit

Permalink
fix: allow any protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
macjuul committed Oct 21, 2024
1 parent 67aa03f commit d4ac9bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/tauri.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
case 'http:':
wasmCode = await (await fetch(wasm_url)).arrayBuffer();
break
default:
throw new Error(`Unsupported protocol: ${wasm_url.protocol}`);
===========
case "tauri:":
case 'https:':
case 'http:':
default:
wasmCode = await (await fetch(wasm_url)).arrayBuffer();
break

0 comments on commit d4ac9bc

Please sign in to comment.