Update tailscale_tun bundle

This commit is contained in:
Yuri Iozzelli
2022-10-04 14:18:22 +02:00
committed by Carlo Piovesan
parent f9ca490190
commit c6696bd2f2
3 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -29,7 +29,7 @@ export async function init() {
const lazyRunIpn = async () => {
const wasmUrl = new URL("tailscale.wasm", import.meta.url);
const go = new window.Go();
let {instance} = await fetch(wasmUrl).then(x => x.arrayBuffer()).then(x => WebAssembly.instantiate(x,go.importObject));
let {instance} = await WebAssembly.instantiateStreaming(fetch(wasmUrl),go.importObject);
go.run(instance);
const sessionStateStorage = {