Skip to content

Commit

Permalink
🐛 FIx ip pass, wont work
Browse files Browse the repository at this point in the history
  • Loading branch information
lleans committed Mar 13, 2024
1 parent 4983769 commit d692919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ async def error_handling(_, exec: Exception) -> JSONResponse:

if __name__ == "__main__":
uvicorn.run("router:app", host="0.0.0.0",
port=int(environ.get('PORT')) or 8000, log_level="info", workers=3)
port=int(environ.get('PORT')) or 8000, log_level="info", workers=3, forwarded_allow_ips=True)

0 comments on commit d692919

Please sign in to comment.