Allow access from external devices

This commit is contained in:
Claudio Ortolina
2024-09-27 10:58:59 +01:00
parent 17b7a56e70
commit a3310eeb6a
+1 -1
View File
@@ -16,7 +16,7 @@ config :music_library, MusicLibrary.Repo,
config :music_library, MusicLibraryWeb.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,