Skip to content

Commit

Permalink
fixup! Add option to enable proxy header
Browse files Browse the repository at this point in the history
  • Loading branch information
FirelightFlagboy committed Oct 9, 2024
1 parent 676ff1c commit 185d6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/parsec/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def handle_parse_result(
"--proxy-trusted-addresses",
default=["localhost", "127.0.0.1", "::1"],
envvar="PARSEC_PROXY_TRUSTED_ADDRESSES",
callback=lambda ctx, param, value: str(value).split(","),
callback=lambda ctx, param, value: [item.strip() for item in str(value).split(",")],
show_envvar=True,
help="""\b
Comma-separated list of IP Addresses, IP Networks or literals to trust with proxy headers.
Expand Down

0 comments on commit 185d6d0

Please sign in to comment.