mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-08 18:06:36 +00:00
Remove stale comment
This commit is contained in:
parent
2596d2ba52
commit
db9dc653e0
@ -92,12 +92,10 @@ gulp.task('gen-service-worker', () => {
|
|||||||
handler: 'cacheFirst',
|
handler: 'cacheFirst',
|
||||||
},
|
},
|
||||||
{ // Get static, api, and local (and home-assistant-polymer in dev mode) from network.
|
{ // Get static, api, and local (and home-assistant-polymer in dev mode) from network.
|
||||||
// Use cache only if Home Assistant server is unreachable.
|
|
||||||
urlPattern: '/(home-assistant-polymer|static|api|local)/*',
|
urlPattern: '/(home-assistant-polymer|static|api|local)/*',
|
||||||
handler: 'networkOnly',
|
handler: 'networkOnly',
|
||||||
},
|
},
|
||||||
{ // Get manifest and service worker from network.
|
{ // Get manifest and service worker from network.
|
||||||
// Use cache only if Home Assistant server is unreachable.
|
|
||||||
urlPattern: '/(service_worker.js|manifest.json)',
|
urlPattern: '/(service_worker.js|manifest.json)',
|
||||||
handler: 'networkOnly',
|
handler: 'networkOnly',
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user