Update tailscale_tun bundle
This commit is contained in:
parent
f9ca490190
commit
c6696bd2f2
3 changed files with 1 additions and 1 deletions
BIN
tun/ipstack.wasm
BIN
tun/ipstack.wasm
Binary file not shown.
Binary file not shown.
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue