Always load middle to handle forwarded proxy data (#51332)

This commit is contained in:
Franck Nijhof 2021-06-01 18:38:55 +02:00 committed by GitHub
parent d975f9eb0a
commit cdd1f6b2f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 85 additions and 136 deletions

View file

@ -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