Skip to content

Commit

Permalink
Replace the Wrong File URL's in sw.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mskian committed Oct 3, 2019
1 parent 54580bd commit 3b63f4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sw.js
Expand Up @@ -35,10 +35,10 @@ workbox.routing.registerRoute(
})
);
workbox.precaching.precacheAndRoute([
'/marcdown/index.css',
'/marcdown/index.js',
'index.css',
'index.js',
{
url: '/marcdown/index.html',
url: 'index.html',
revision: '383676'
},
]);
Expand All @@ -49,7 +49,7 @@ var CURRENT_CACHES = {
self.addEventListener('install', function (event) {
var now = Date.now();
var urlsToPrefetch = [
'/marcdown/index.html'
'index.html'
];
// All of these logging statements should be visible via the "Inspect" interface
// for the relevant SW accessed via chrome://serviceworker-internals
Expand Down

0 comments on commit 3b63f4f

Please sign in to comment.