diff --git a/webproj/api.py b/webproj/api.py index fcbada6..cb6aaaf 100644 --- a/webproj/api.py +++ b/webproj/api.py @@ -79,7 +79,7 @@ def token_query_param( docs_url="/documentation", dependencies=[Depends(token_header_param), Depends(token_query_param)], ) -app.add_middleware(ProxyHeaderMiddleware, trusted_hosts="127.0.0.1") +app.add_middleware(ProxyHeaderMiddleware) _DATA = Path(__file__).parent / Path("data.json")