Skip to content

Commit

Permalink
chore: v2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nlepage committed Nov 27, 2024
1 parent 2d786bd commit c94dcd9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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/[email protected].3/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/[email protected].4/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/[email protected].3/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/[email protected].4/sw.js')

const wasm = 'api.wasm'

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/[email protected].3/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/[email protected].4/sw.js')

const wasm = 'api.wasm'

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/[email protected].3/sw.js')
importScripts('https://cdn.jsdelivr.net/gh/nlepage/[email protected].4/sw.js')

const wasm = 'api.wasm'

Expand Down

0 comments on commit c94dcd9

Please sign in to comment.