Fixed path to files

This commit is contained in:
TimZ99 2019-04-12 13:13:27 +02:00
parent f87e4e48cc
commit cba09ed5f1
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
2 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@
"sizes": "32x32", "sizes": "32x32",
"type": "image/x-icon" "type": "image/x-icon"
}], }],
"start_url": "/index.php", "start_url": "index.php",
"display": "standalone", "display": "standalone",
"background_color": "#3E4EB8", "background_color": "#3E4EB8",
"theme_color": "#ffffff" "theme_color": "#ffffff"

View File

@ -2,14 +2,14 @@ var dataCacheName = 'PSM-v1';
var cacheName = 'PSM-PWA-final-1'; var cacheName = 'PSM-PWA-final-1';
var filesToCache = [ var filesToCache = [
'/', '/',
'/index.php', 'index.php',
'/static/js/history.js', 'static/js/history.js',
'/static/js/script.js', 'static/js/scripts.js',
'/static/js/search.js', 'static/js/search.js',
'/static/css/bootstrap.min.css', 'static/css/bootstrap.min.css',
'/static/css/search.min.css', 'static/css/search.min.css',
'/static/css/style.min.css', 'static/css/style.min.css',
'/static/phpservermon.png' 'static/phpservermon.png'
]; ];
self.addEventListener('install', function(e) { self.addEventListener('install', function(e) {