fixed service worker
This commit is contained in:
@@ -250,6 +250,10 @@ self.addEventListener('activate', event => {
|
||||
console.log('Patching PWA Service Worker: Activating...');
|
||||
});
|
||||
|
||||
self.addEventListener('fetch', event => {
|
||||
event.respondWith(fetch(event.request));
|
||||
});
|
||||
|
||||
console.log('Patching PWA Service Worker: Script loaded.');";
|
||||
|
||||
header("Content-Type: application/javascript");
|
||||
|
||||
BIN
public/assets/images/pwa-thetool-192.jpeg
Normal file
BIN
public/assets/images/pwa-thetool-192.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
BIN
public/assets/images/pwa-thetool-512.jpeg
Normal file
BIN
public/assets/images/pwa-thetool-512.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
@@ -3,14 +3,20 @@
|
||||
"short_name": "Patching",
|
||||
"description": "Patching tool for thetool.",
|
||||
"start_url": "/Patching/",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#ffffff",
|
||||
"theme_color": "#000000",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/images/favicon.ico",
|
||||
"sizes": "66x61",
|
||||
"type": "image/x-icon"
|
||||
"src": "/assets/images/pwa-thetool-192.jpeg",
|
||||
"sizes": "192x192",
|
||||
"type": "image/jpeg"
|
||||
},
|
||||
{
|
||||
"src": "/assets/images/pwa-thetool-512.jpeg",
|
||||
"sizes": "512x512",
|
||||
"type": "image/jpeg"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user