mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 05:16:34 +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)',
|
urlPattern: '/(service_worker.js|manifest.json)',
|
||||||
handler: 'networkOnly',
|
handler: 'networkOnly',
|
||||||
},
|
},
|
||||||
{ // For rest of the files (on Home Assistant domain only) try both cache and network/
|
{ // 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".
|
// 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
|
// First access might bring stale data from cache, but a single refresh will bring updated
|
||||||
// file.
|
// file.
|
||||||
urlPattern: '*',
|
urlPattern: '*',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user