mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
chore: host workbox locally (#3154)
This commit is contained in:
parent
418589e7ad
commit
91eb8834e8
19 changed files with 39 additions and 4 deletions
|
@ -17,9 +17,11 @@
|
|||
* See https://goo.gl/2aRDsh
|
||||
*/
|
||||
|
||||
importScripts(
|
||||
"https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js",
|
||||
);
|
||||
importScripts("/workbox/workbox-sw.js");
|
||||
|
||||
workbox.setConfig({
|
||||
modulePathPrefix: "/workbox/",
|
||||
});
|
||||
|
||||
self.addEventListener("message", (event) => {
|
||||
if (event.data && event.data.type === "SKIP_WAITING") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue