The server is accessible from the local network (in dev environment).

This commit is contained in:
2026-02-19 15:58:53 +01:00
parent b8f8cec29b
commit 60aa513a11

View File

@ -19,7 +19,7 @@ config :beet_round_server, BeetRoundServer.Repo,
config :beet_round_server, BeetRoundServerWeb.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: String.to_integer(System.get_env("PORT") || "4000")],
http: [ip: {0, 0, 0, 0}, port: String.to_integer(System.get_env("PORT") || "4000")],
check_origin: false,
code_reloader: true,
debug_errors: false,