PWA amélioration offline

This commit is contained in:
Louis DUMONT 2022-03-30 10:14:14 +02:00
parent 205c2890b5
commit 16eab3f5d7
2 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -16,9 +16,9 @@ self.addEventListener('install', (e) => {
var cacheName = 'CTS_v2';
var appShellFiles = [
'index.php',
'assets/css/index.css',
'assets/js/index.js',
'assets/vendors/jquery/jquery-3.6.0.min.js'
'http://ctsstatic.fr/assets/css/index.css',
'http://ctsstatic.fr/assets/js/index.js',
'http://ctsstatic.fr/assets/vendors/jquery/jquery-3.6.0.min.js'
];
e.waitUntil(