Skip to content

Commit c8b0c75

Browse files
committed
Attempt to fix header handling
1 parent 3dcc37b commit c8b0c75

File tree

1 file changed

+1
-1
lines changed
  • openpectus_database_administration

1 file changed

+1
-1
lines changed

openpectus_database_administration/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def index(request: Request) -> Response:
9393

9494
admin.mount_to(app)
9595
print(f"Serving frontend at http://{args.host}:{args.port}")
96-
uvicorn.run(app, host=args.host, port=args.port, log_level=logging.WARNING)
96+
uvicorn.run(app, host=args.host, port=args.port, log_level=logging.WARNING, forwarded_allow_ips="*", proxy_headers=True)
9797

9898

9999
if __name__ == "__main__":

0 commit comments

Comments
 (0)