Skip to content

Commit

Permalink
Trust all the hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
kbevers committed Feb 14, 2024
1 parent a1ece30 commit fc5cb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webproj/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def token_query_param(
docs_url="/documentation",
dependencies=[Depends(token_header_param), Depends(token_query_param)],
)
app.add_middleware(ProxyHeadersMiddleware, trusted_hosts="127.0.0.1")
app.add_middleware(ProxyHeadersMiddleware, trusted_hosts="*")

_DATA = Path(__file__).parent / Path("data.json")

Expand Down

0 comments on commit fc5cb1c

Please sign in to comment.