Update:Enable PWA workbox #354

This commit is contained in:
advplyr 2022-11-19 17:57:26 -06:00
parent 5ca2bc5d64
commit 94912c7542

View File

@ -110,6 +110,7 @@ module.exports = {
short_name: 'Audiobookshelf', short_name: 'Audiobookshelf',
display: 'standalone', display: 'standalone',
background_color: '#373838', background_color: '#373838',
start_url: '',
icons: [ icons: [
{ {
src: (process.env.ROUTER_BASE_PATH || '') + '/icon.svg', src: (process.env.ROUTER_BASE_PATH || '') + '/icon.svg',
@ -118,7 +119,8 @@ module.exports = {
] ]
}, },
workbox: { workbox: {
enabled: false, preCaching: [],
runtimeCaching: []
} }
}, },