mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 05:17:20 +00:00
Do not cache onboarding page (#3337)
This commit is contained in:
parent
7cfdc24a8c
commit
628692b2e9
@ -19,9 +19,11 @@ function initRouting() {
|
||||
new workbox.strategies.NetworkOnly()
|
||||
);
|
||||
|
||||
// Get manifest and service worker from network.
|
||||
// Get manifest, service worker, onboarding from network.
|
||||
workbox.routing.registerRoute(
|
||||
new RegExp(`${location.host}/(service_worker.js|manifest.json)`),
|
||||
new RegExp(
|
||||
`${location.host}/(service_worker.js|manifest.json|onboarding.html)`
|
||||
),
|
||||
new workbox.strategies.NetworkOnly()
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user