| import Config |
|
|
| |
| config :hexalixir, HexalixirWeb.Endpoint, |
| |
| http: [ip: {127, 0, 0, 1}, port: 7860], |
| check_origin: false, |
| code_reloader: true, |
| debug_errors: true, |
| secret_key_base: "YOUR_DEV_SECRET_KEY_BASE", |
| watchers: [ |
| esbuild: {Esbuild, :install_and_run, [:default, ~w(--sourcemap=inline --watch)]}, |
| tailwind: {Tailwind, :install_and_run, [:default, ~w(--watch)]} |
| ] |
|
|
| |
| config :hexalixir, HexalixirWeb.Endpoint, |
| live_reload: [ |
| patterns: [ |
| ~r"priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$", |
| ~r"lib/hexalixir_web/(controllers|live|components)/.*(ex|heex)$", |
| ~r"lib/hexalixir_web/templates/.*(eex|heex)$" |
| ] |
| ] |
|
|
| |
| config :logger, :console, format: "[$level] $message\n" |
|
|
| |
| config :phoenix, :plug_init_mode, :runtime |
|
|