mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix blocking I/O in CachingStaticResource (#119663)
This commit is contained in:
parent
38a6e666a7
commit
e6b7301367
@ -80,4 +80,4 @@ class CachingStaticResource(StaticResource):
|
||||
},
|
||||
)
|
||||
|
||||
return await super()._handle(request)
|
||||
raise HTTPForbidden if filepath is None else HTTPNotFound
|
||||
|
Loading…
x
Reference in New Issue
Block a user