update sw.js
This commit is contained in:
parent
0d6a9fbb70
commit
70b926a374
17
sw.js
17
sw.js
|
@ -3,18 +3,17 @@
|
||||||
|
|
||||||
const version = '2.0.0'
|
const version = '2.0.0'
|
||||||
const CACHE = version + '::PWAsite'
|
const CACHE = version + '::PWAsite'
|
||||||
const offlineURL = '/offline/'
|
|
||||||
const installFilesEssential = [
|
const installFilesEssential = [
|
||||||
'/',
|
'/',
|
||||||
'./static/manifest.json',
|
'./manifest.json',
|
||||||
'./static/css/*',
|
'./static/css/',
|
||||||
'./static/img/*',
|
'./static/img/',
|
||||||
'./static/js/*',
|
'./static/js/',
|
||||||
'./static/fonts/*',
|
'./static/fonts/',
|
||||||
'./static/tinymce4.7.5/*',
|
'./static/tinymce4.7.5/',
|
||||||
'./static/js/*',
|
'./static/js/',
|
||||||
'./logo.png'
|
'./logo.png'
|
||||||
].concat(offlineURL)
|
]
|
||||||
// const installFilesEssential = [
|
// const installFilesEssential = [
|
||||||
// '/',
|
// '/',
|
||||||
// './static/tinymce4.7.5/*',
|
// './static/tinymce4.7.5/*',
|
||||||
|
|
Loading…
Reference in New Issue