Skip to content

Commit e4bcb8c

Browse files
committed
PWA Activated
1 parent 9317bc0 commit e4bcb8c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

service-worker.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// PWA Fire Bundle
2-
// url : https://www.pwafire.org
3-
41
// after a service worker is installed and the user navigates to a different page or
52
// refreshes,the service worker will begin to receive fetch events
63

@@ -32,13 +29,14 @@ self.addEventListener('fetch', function (event) {
3229
'/index.html', //default
3330
'/index.html?homescreen=1', //default
3431
'/?homescreen=1', //default
35-
'/css/app.css', // configure as by your site ; just an example
32+
'/css/main.css', // configure as by your site ; just an example
3633
'/img/logo.png', // choose images to keep offline; just an example
37-
// Do not replace/delete/edit the manifest.js paths below
34+
// Do not replace/delete/editmganifest.js path below
35+
36+
'/manifest.js',
3837
//These are links to the extenal social media buttons that should be cached;
3938
// we have used twitter's as an example
4039
'https://platform.twitter.com/widgets.js',
41-
4240
]);
4341
})
4442
);

0 commit comments

Comments
 (0)