Always load middle to handle forwarded proxy data (#51332)
This commit is contained in:
parent
d975f9eb0a
commit
cdd1f6b2f0
6 changed files with 85 additions and 136 deletions
|
@ -53,7 +53,7 @@ def app(hass):
|
|||
app = web.Application()
|
||||
app["hass"] = hass
|
||||
app.router.add_get("/", mock_handler)
|
||||
async_setup_forwarded(app, [])
|
||||
async_setup_forwarded(app, True, [])
|
||||
return app
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue