Enable cache headers on styling (#270)
This commit is contained in:
committed by
GitHub
parent
16c45544d3
commit
084e0e606e
@@ -75,13 +75,8 @@ async def frontend_injection(hass: HomeAssistant, force_https: bool) -> None:
|
||||
StaticPathConfig(
|
||||
"/auth/oidc/static/injection.js",
|
||||
hass.config.path("custom_components/auth_oidc/static/injection.js"),
|
||||
cache_headers=False,
|
||||
),
|
||||
StaticPathConfig(
|
||||
"/auth/oidc/static/style.css",
|
||||
hass.config.path("custom_components/auth_oidc/static/style.css"),
|
||||
cache_headers=False,
|
||||
),
|
||||
cache_headers=True,
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user