diff --git a/README.md b/README.md index bd293dc..324de6d 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Create a ServiceWorker file with the following code: 📄 `sw.js` ```js importScripts('https://cdn.jsdelivr.net/gh/golang/go@go1.18.4/misc/wasm/wasm_exec.js') -importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.1/sw.js') +importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.2/sw.js') registerWasmHTTPListener('path/to/server.wasm') ``` diff --git a/docs/hello-sse/api.wasm b/docs/hello-sse/api.wasm index 568e5f8..cfe3735 100755 Binary files a/docs/hello-sse/api.wasm and b/docs/hello-sse/api.wasm differ diff --git a/docs/hello-sse/sw.js b/docs/hello-sse/sw.js index e5eeb34..02dc53f 100644 --- a/docs/hello-sse/sw.js +++ b/docs/hello-sse/sw.js @@ -1,5 +1,5 @@ importScripts('https://cdn.jsdelivr.net/gh/golang/go@go1.23.1/misc/wasm/wasm_exec.js') -importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.1/sw.js') +importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.2/sw.js') addEventListener('install', (event) => { event.waitUntil(skipWaiting()) diff --git a/docs/hello-state-keepalive/sw.js b/docs/hello-state-keepalive/sw.js index 0c35cc9..60ef0ad 100644 --- a/docs/hello-state-keepalive/sw.js +++ b/docs/hello-state-keepalive/sw.js @@ -1,5 +1,5 @@ importScripts('https://cdn.jsdelivr.net/gh/golang/go@go1.23.1/misc/wasm/wasm_exec.js') -importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.1/sw.js') +importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.2/sw.js') addEventListener('install', event => { event.waitUntil(skipWaiting()) diff --git a/docs/hello-state/api.wasm b/docs/hello-state/api.wasm index c63bd29..68b9078 100755 Binary files a/docs/hello-state/api.wasm and b/docs/hello-state/api.wasm differ diff --git a/docs/hello-state/sw.js b/docs/hello-state/sw.js index a02c3c3..7fd045e 100644 --- a/docs/hello-state/sw.js +++ b/docs/hello-state/sw.js @@ -1,5 +1,5 @@ importScripts('https://cdn.jsdelivr.net/gh/golang/go@go1.23.1/misc/wasm/wasm_exec.js') -importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.1/sw.js') +importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.2/sw.js') addEventListener('install', (event) => { event.waitUntil(skipWaiting()) diff --git a/docs/hello/api.wasm b/docs/hello/api.wasm index f5d2042..0efda26 100755 Binary files a/docs/hello/api.wasm and b/docs/hello/api.wasm differ diff --git a/docs/hello/sw.js b/docs/hello/sw.js index e5eeb34..02dc53f 100644 --- a/docs/hello/sw.js +++ b/docs/hello/sw.js @@ -1,5 +1,5 @@ importScripts('https://cdn.jsdelivr.net/gh/golang/go@go1.23.1/misc/wasm/wasm_exec.js') -importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.1/sw.js') +importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.2/sw.js') addEventListener('install', (event) => { event.waitUntil(skipWaiting())