Update gen-service-worker.js
This commit is contained in:
@@ -99,8 +99,8 @@ gulp.task('gen-service-worker', () => {
|
||||
urlPattern: '/(service_worker.js|manifest.json)',
|
||||
handler: 'networkOnly',
|
||||
},
|
||||
{ // For rest of the files (on Home Assistant domain only) try both cache and network/
|
||||
// This includes the root "/" or "/states" response and user files from ""/local".
|
||||
{ // For rest of the files (on Home Assistant domain only) try both cache and network.
|
||||
// This includes the root "/" or "/states" response and user files from "/local".
|
||||
// First access might bring stale data from cache, but a single refresh will bring updated
|
||||
// file.
|
||||
urlPattern: '*',
|
||||
|
||||
Reference in New Issue
Block a user