mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-09 18:26:30 +00:00
Increase middleware range
This commit is contained in:
parent
75b3ebec7c
commit
cede47e95c
@ -297,7 +297,7 @@ class SecurityMiddleware(CoreSysAttributes):
|
||||
elif key == b"X-Ingress-Path":
|
||||
ingress_request = True
|
||||
|
||||
if user_request or admin_request:
|
||||
if (user_request or admin_request) and not ingress_request:
|
||||
return await handler(request)
|
||||
|
||||
is_proxy_request = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user