mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 12:56:37 +00:00
Update gen-service-worker.js
This commit is contained in:
parent
3025b6049f
commit
0dc3bc7926
@ -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: '*',
|
||||
|
Loading…
x
Reference in New Issue
Block a user