| 199 |
lars |
1 |
/**
|
|
|
2 |
* Welcome to your Workbox-powered service worker!
|
|
|
3 |
*
|
|
|
4 |
* You'll need to register this file in your web app and you should
|
|
|
5 |
* disable HTTP caching for this file too.
|
|
|
6 |
* See https://goo.gl/nhQhGp
|
|
|
7 |
*
|
|
|
8 |
* The rest of the code is auto-generated. Please don't update this file
|
|
|
9 |
* directly; instead, make changes to your Workbox build configuration
|
|
|
10 |
* and re-run your build process.
|
|
|
11 |
* See https://goo.gl/2aRDsh
|
|
|
12 |
*/
|
|
|
13 |
|
|
|
14 |
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
|
|
15 |
|
|
|
16 |
importScripts(
|
|
|
17 |
"precache-manifest.84f394233edb6bbf15637db0e9e4acd5.js"
|
|
|
18 |
);
|
|
|
19 |
|
|
|
20 |
workbox.core.setCacheNameDetails({prefix: "Clockwork"});
|
|
|
21 |
|
|
|
22 |
self.addEventListener('message', (event) => {
|
|
|
23 |
if (event.data && event.data.type === 'SKIP_WAITING') {
|
|
|
24 |
self.skipWaiting();
|
|
|
25 |
}
|
|
|
26 |
});
|
|
|
27 |
|
|
|
28 |
/**
|
|
|
29 |
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
|
|
|
30 |
* requests for URLs in the manifest.
|
|
|
31 |
* See https://goo.gl/S9QRab
|
|
|
32 |
*/
|
|
|
33 |
self.__precacheManifest = [].concat(self.__precacheManifest || []);
|
|
|
34 |
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
|