Update service-worker.js

This commit is contained in:
streetturtle 2018-09-25 14:43:45 -04:00 committed by GitHub
parent 7aea620b58
commit 91d01b4aab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
importScripts('cache-polyfill.js');
const CACHE_NAME = 'awmw-cache';
const PRE_CACHED_ASSETS = [
'/assets/css/materialize.min.css',
'/assets/css/style.css',
'/assets/css/syntax1.css',
'/assets/js/materialize.min.js',
'/assets/js/particles.min.js',
'/assets/js/init.js'
'awesome-wm-widgets/assets/css/materialize.min.css',
'awesome-wm-widgets/assets/css/style.css',
'awesome-wm-widgets/assets/css/syntax1.css',
'awesome-wm-widgets/assets/js/materialize.min.js',
'awesome-wm-widgets/assets/js/particles.min.js',
'awesome-wm-widgets/assets/js/init.js'
];
self.addEventListener('install', e => {