|
@@ -69,7 +69,7 @@ if (!self.define) {
|
|
|
};
|
|
|
}
|
|
|
define(['./workbox-5357ef54'], function (workbox) {
|
|
|
- 'use strict';
|
|
|
+ ('use strict');
|
|
|
|
|
|
self.skipWaiting();
|
|
|
workbox.clientsClaim();
|
|
@@ -87,8 +87,7 @@ define(['./workbox-5357ef54'], function (workbox) {
|
|
|
},
|
|
|
{
|
|
|
url: 'index.html',
|
|
|
-
|
|
|
- revision: '0.p9rb3ikv53'
|
|
|
+ revision: '0.3vo3lspd3m'
|
|
|
}
|
|
|
],
|
|
|
{}
|
|
@@ -102,6 +101,15 @@ define(['./workbox-5357ef54'], function (workbox) {
|
|
|
workbox.registerRoute(
|
|
|
new workbox.NavigationRoute(workbox.createHandlerBoundToURL('index.html'), {
|
|
|
allowlist: [/^\/$/]
|
|
|
- })
|
|
|
+ }),
|
|
|
+ workbox.strategies.networkOnly()
|
|
|
+ );
|
|
|
+ workbox.routing.registerRoute(
|
|
|
+ new RegExp('.*.html|css'),
|
|
|
+ workbox.strategies.networkFirst()
|
|
|
+ );
|
|
|
+ workbox.routing.registerRoute(
|
|
|
+ new RegExp('|js'),
|
|
|
+ workbox.strategies.networkOnly()
|
|
|
);
|
|
|
});
|