mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 05:16:34 +00:00
Dont cache requests to auth APIs (#3151)
This commit is contained in:
parent
57b917f297
commit
530be9155b
@ -15,7 +15,7 @@ function initRouting() {
|
||||
|
||||
// Get api from network.
|
||||
workbox.routing.registerRoute(
|
||||
new RegExp(`${location.host}/api/.*`),
|
||||
new RegExp(`${location.host}/(api|auth)/.*`),
|
||||
new workbox.strategies.NetworkOnly()
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user