import Config # ! general # Do not include metadata nor timestamps in development logs. config :logger, :console, format: "[$level] $message\n" # Set a higher stacktrace during development. Avoid configuring such in # production as building large stacktraces may be expensive. config :phoenix, :stacktrace_depth, 20 # Initialize plugs at runtime for faster development compilation. config :phoenix, :plug_init_mode, :runtime # Include HEEx debug annotations as HTML comments in rendered markup. config :phoenix_live_view, :debug_heex_annotations, true # Enable dev routes for dashboard and mailbox. config :combo_lite, dev_routes: true # Limit running processes, which is good for: # # * inspecting process tree in :observer without too much scrolling # * ... config :combo_lite, process_limit: true # ! cozy_proxy config :combo_lite, CozyProxy, transport_options: [num_acceptors: 2] # ! core # nothing to do # ! user_web # Configure the endpoint. config :combo_lite, ComboLite.UserWeb.Endpoint, http: [ transport_options: [num_acceptors: 2] ], check_origin: false, code_reloader: true, debug_errors: true, secret_key_base: "=========================secret_key_base=========================", watchers: [ npm: ["run", "watch", cd: Path.expand("../assets/user_web", __DIR__)] ] # Watch static and templates for browser reloading. config :combo_lite, ComboLite.UserWeb.Endpoint, live_reload: [ patterns: [ ~r"priv/user_web/static/.*(js|css|png|jpeg|jpg|gif|svg)$", ~r"priv/user_web/gettext/.*(po)$", ~r"lib/user_web/(controllers|live|components)/.*(ex|heex)$" ] ]