Update tailscale_tun bundle
This commit is contained in:
parent
f9ca490190
commit
c6696bd2f2
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 lazyRunIpn = async () => {
|
||||||
const wasmUrl = new URL("tailscale.wasm", import.meta.url);
|
const wasmUrl = new URL("tailscale.wasm", import.meta.url);
|
||||||
const go = new window.Go();
|
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);
|
go.run(instance);
|
||||||
|
|
||||||
const sessionStateStorage = {
|
const sessionStateStorage = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user