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

build: pass ALLOWED_HOSTS env var to app #125

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Conversation

Restioson
Copy link
Collaborator

This variable allows you to set which IPs the app may be accessed from. This is useful to make it accessible when testing on a LAN network with another device (e.g. a mobile phone). The list of allowed hosts is passed as a space-separated string in the environment variable (e.g. ALLOWED_HOSTS="127.0.0.1 localhost 192.168.100.25")

This variable allows you to set which IPs the app may be accessed from. This is useful to make it accessible when testing on a LAN network with another device (e.g. a mobile phone). The list of allowed hosts is passed as a space-separated string in the environment variable (e.g. `ALLOWED_HOSTS="127.0.0.1 localhost 192.168.100.25"`)
@Restioson Restioson merged commit 9e7ba39 into main Oct 3, 2024
2 checks passed
@Restioson Restioson deleted the build/pass-allowed-hosts branch October 3, 2024 09:25
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