Skip to content

Commit

Permalink
Link to the updated service worker reference code
Browse files Browse the repository at this point in the history
  • Loading branch information
tuzz committed Jan 24, 2024
1 parent fd2c50e commit c07359a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyodide/webworker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ if (!supportsAllFeatures && name !== "incremental-features") {
"You may wish to scope the HTTP headers to only those pages that host the code editor to make the browser restriction easier to deal with.",
"",
"Please refer to these code snippets for registering a service worker:",
" - https://github.com/RaspberryPiFoundation/python-execution-prototypes/blob/80a512f0942d326460b27c6ff7574887bd14a6c3/pyodide/index.html#L92-L98",
" - https://github.com/RaspberryPiFoundation/python-execution-prototypes/blob/80a512f0942d326460b27c6ff7574887bd14a6c3/pyodide/serviceworker.js",
" - https://github.com/RaspberryPiFoundation/python-execution-prototypes/blob/fd2c50e032cba3bb0e92e19a88eb62e5b120fe7a/pyodide/index.html#L92-L98",
" - https://github.com/RaspberryPiFoundation/python-execution-prototypes/blob/fd2c50e032cba3bb0e92e19a88eb62e5b120fe7a/pyodide/serviceworker.js",
].join("\n"));
}

Expand Down

0 comments on commit c07359a

Please sign in to comment.