Skip to content

Commit

Permalink
chore: v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nlepage committed Oct 14, 2024
1 parent b7e5adf commit b0181fc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Create a ServiceWorker file with the following code:
📄 `sw.js`
```js
importScripts('https://cdn.jsdelivr.net/gh/golang/[email protected]/misc/wasm/wasm_exec.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v1.1.0/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.0/sw.js')

registerWasmHTTPListener('path/to/server.wasm')
```
Expand Down
2 changes: 1 addition & 1 deletion docs/hello-sse/sw.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
importScripts('https://cdn.jsdelivr.net/gh/golang/[email protected]/misc/wasm/wasm_exec.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v1.1.0/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.0/sw.js')

addEventListener('install', (event) => {
event.waitUntil(skipWaiting())
Expand Down
2 changes: 1 addition & 1 deletion docs/hello-state-keepalive/sw.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
importScripts('https://cdn.jsdelivr.net/gh/golang/[email protected]/misc/wasm/wasm_exec.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v1.1.0/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.0/sw.js')

addEventListener('install', event => {
event.waitUntil(skipWaiting())
Expand Down
2 changes: 1 addition & 1 deletion docs/hello-state/sw.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
importScripts('https://cdn.jsdelivr.net/gh/golang/[email protected]/misc/wasm/wasm_exec.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v1.1.0/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.0/sw.js')

addEventListener('install', (event) => {
event.waitUntil(skipWaiting())
Expand Down
2 changes: 1 addition & 1 deletion docs/hello/sw.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
importScripts('https://cdn.jsdelivr.net/gh/golang/[email protected]/misc/wasm/wasm_exec.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v1.1.0/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/go-wasm-http-server@v2.0.0/sw.js')

addEventListener('install', (event) => {
event.waitUntil(skipWaiting())
Expand Down

0 comments on commit b0181fc

Please sign in to comment.