mirror of
https://github.com/cloudmaker97/DurstRechner.git
synced 2025-12-05 23:48:39 +00:00
Lokale Verzeichnisse für Service Worker
This commit is contained in:
parent
d6c8c1d600
commit
2b3796445e
1 changed files with 19 additions and 18 deletions
|
|
@ -1,24 +1,25 @@
|
|||
const CACHE_NAME = 'durst-rechner-v2';
|
||||
|
||||
const FILES_TO_CACHE = [
|
||||
'/index.html',
|
||||
'/assets/manifest.json',
|
||||
'/assets/script/service-worker.js',
|
||||
'/assets/style/stylesheet.css',
|
||||
'/assets/script/all.js',
|
||||
'/assets/script/calculator.js',
|
||||
'/assets/script/theme.js',
|
||||
'/node_modules/bootstrap/dist/css/bootstrap.min.css',
|
||||
'/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js',
|
||||
'/node_modules/bootstrap-icons/font/bootstrap-icons.min.css',
|
||||
'/node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2',
|
||||
'/node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff',
|
||||
'/assets/favicon/android-chrome-192x192.png',
|
||||
'/assets/favicon/android-chrome-512x512.png',
|
||||
'/assets/favicon/apple-touch-icon.png',
|
||||
'/assets/favicon/favicon-16x16.png',
|
||||
'/assets/favicon/favicon-32x32.png',
|
||||
'/assets/favicon/favicon.ico',
|
||||
'./',
|
||||
'./index.html',
|
||||
'./assets/manifest.json',
|
||||
'./assets/script/service-worker.js',
|
||||
'./assets/style/stylesheet.css',
|
||||
'./assets/script/all.js',
|
||||
'./assets/script/calculator.js',
|
||||
'./assets/script/theme.js',
|
||||
'./node_modules/bootstrap/dist/css/bootstrap.min.css',
|
||||
'./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js',
|
||||
'./node_modules/bootstrap-icons/font/bootstrap-icons.min.css',
|
||||
'./node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2',
|
||||
'./node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff',
|
||||
'./assets/favicon/android-chrome-192x192.png',
|
||||
'./assets/favicon/android-chrome-512x512.png',
|
||||
'./assets/favicon/apple-touch-icon.png',
|
||||
'./assets/favicon/favicon-16x16.png',
|
||||
'./assets/favicon/favicon-32x32.png',
|
||||
'./assets/favicon/favicon.ico',
|
||||
];
|
||||
|
||||
self.addEventListener('install', event => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue