Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing custom HOST through an env var. #555

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

lbrito1
Copy link
Contributor

@lbrito1 lbrito1 commented Nov 7, 2024

Currently the sever is hardcoded to listen at IPv4 only (0.0.0.0); this is a problem when running on certain infrastructure such as Fly.io, where the default private network is IPv6-only. By allowing users to pass a custom HOST, they can pass "::" to use IPv6.

Currently the sever is hardcoded to listen at IPv4 only (0.0.0.0); this
is a problem when running on certain infrastructure such as Fly.io,
where the default private network is IPv6-only. By allowing users to
pass a custom HOST, they can pass "::" to use IPv6.
@pudo
Copy link
Member

pudo commented Nov 8, 2024

Very nice patch, appreciate it!

@pudo pudo merged commit cbbbda2 into opensanctions:main Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants