make dev server available to whole network

This commit is contained in:
Rüdiger Diedrich
2022-08-02 17:24:13 +02:00
parent e8eaa2d77a
commit 436dc505ec

View File

@ -20,7 +20,7 @@ config :something_erlang, SomethingErlang.Repo,
config :something_erlang, SomethingErlangWeb.Endpoint,
# Binding to loopback ipv4 address prevents access from other machines.
# Change to `ip: {0, 0, 0, 0}` to allow access from other machines.
http: [ip: {127, 0, 0, 1}, port: 4000],
http: [ip: {0, 0, 0, 0}, port: 4000],
check_origin: false,
code_reloader: true,
debug_errors: true,