1
0
mirror of https://github.com/franjsco/tomadoro synced 2025-02-08 23:48:42 +01:00
tomadoro/service-worker.js

35 lines
1.0 KiB
JavaScript
Raw Normal View History

2019-04-11 11:12:19 +02:00
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
2019-07-23 23:07:05 +02:00
"/tomadoro/precache-manifest.5824c1bbb2f6638447f83f37572f2945.js"
2019-04-11 11:12:19 +02:00
);
workbox.clientsClaim();
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
workbox.routing.registerNavigationRoute("/tomadoro/index.html", {
blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/],
});