Ver código fonte

Merge branch 'iteration-oss-up' into jenkins

lex 1 ano atrás
pai
commit
3074f8817a
1 arquivos alterados com 7 adições e 1 exclusões
  1. 7 1
      dev-dist/sw.js

+ 7 - 1
dev-dist/sw.js

@@ -87,11 +87,17 @@ define(['./workbox-5357ef54'], function (workbox) {
       },
       {
         url: 'index.html',
-        revision: '0.75vo45gt8f8'
+        revision: '0.3q2r9p5ticg'
       }
     ],
     {}
   );
+  workbox.cleanupOutdatedCaches();
+  workbox.registerRoute(
+    new workbox.NavigationRoute(workbox.createHandlerBoundToURL('index.html'), {
+      allowlist: [/^\/$/]
+    })
+  );
 
   workbox.cleanupOutdatedCaches();
   workbox.registerRoute(