import Config # For development, we disable any cache and enable # debugging and code reloading. config :payment_gateway_app, PaymentGatewayAppWeb.Endpoint, # Binding to loopback ipv4 address prevents access from other machines. http: [ip: {0, 0, 0, 0}, port: 24065], # Integrated mode: No HTTP server, accessed via main app forwarding #server: false, check_origin: false, code_reloader: true, debug_errors: true, # Must match DaProductAppWeb.Endpoint secret_key_base in integrated mode, # otherwise LiveView session/static tokens fail verification and trigger # continuous hard reload fallback loops. secret_key_base: "rHIBpZ29wAtqkdv+2nZlmkXiMxfXy5Pii138fwhjtHrk4yMYusdGmVm3FC/UwVE4", watchers: [ esbuild: {Esbuild, :install_and_run, [:payment_gateway_app, ~w(--sourcemap=inline --bundle)]}, tailwind: {Tailwind, :install_and_run, [:payment_gateway_app, ~w(--minify)]} ] # Watch static and templates for browser reloading. config :payment_gateway_app, PaymentGatewayAppWeb.Endpoint, live_reload: [ patterns: [ ~r"priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$", ~r"lib/payment_gateway_app_web/(controllers|live|components)/.*(ex|heex)$" ] ] # Enable dev routes for dashboard and mailbox config :payment_gateway_app, dev_routes: true # Do not include metadata nor timestamps in development logs config :logger, :console, format: "[$level] $message\n" # Set a higher stacktrace during development. config :phoenix, :stacktrace_depth, 20 # Initialize plugs at runtime for faster development compilation config :phoenix, :plug_init_mode, :runtime