Update gen-service-worker.js

This commit is contained in:
Andrey 2017-11-05 21:51:30 +02:00 committed by GitHub
parent 3025b6049f
commit 0dc3bc7926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: '*',