From a3310eeb6ab8e885ba0da1138f277caf6286465b Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Fri, 27 Sep 2024 10:58:59 +0100 Subject: [PATCH] Allow access from external devices --- config/dev.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dev.exs b/config/dev.exs index e384df0f..f144f77b 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -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,