Prevent loading main page if installed in subdirectory (fix #869)

When installed in a subdirectory the service-worker should not load (and cache) /.
This commit is contained in:
Michael Telgkamp 2020-02-20 12:39:57 +01:00
parent 02f8484b3b
commit c7e33547b1
No known key found for this signature in database
GPG Key ID: D56A6B18219D5263
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
var dataCacheName = 'PSM-v1';
var cacheName = 'PSM-PWA-final-1';
var filesToCache = [
'/',
'',
'index.php',
'src/templates/default/static/js/history.js',
'src/templates/default/static/js/scripts.js',