diff --git a/config/dev.exs b/config/dev.exs index b394ad9..ec7887e 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -9,7 +9,7 @@ import Config config :labelmaker, LabelmakerWeb.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, @@ -46,7 +46,7 @@ config :labelmaker, LabelmakerWeb.Endpoint, config :labelmaker, LabelmakerWeb.Endpoint, live_reload: [ patterns: [ - ~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$", + ~r"priv/static/(?!labels/).*(js|css|png|jpeg|jpg|gif|svg)$", ~r"priv/gettext/.*(po)$", ~r"lib/labelmaker_web/(controllers|live|components)/.*(ex|heex)$" ]