Only bind to the local address in prod

This commit is contained in:
Shadowfacts 2024-04-12 17:21:04 -04:00
parent af355cf522
commit eb04d0d4f7
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ if config_env() == :prod do
# Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.
# See the documentation on https://hexdocs.pm/bandit/Bandit.html#t:options/0
# for details about using IPv6 vs IPv4 and loopback vs public addresses.
ip: {0, 0, 0, 0, 0, 0, 0, 0},
ip: {0, 0, 0, 0, 0, 0, 0, 1},
port: port
],
secret_key_base: secret_key_base