this repo has no description
1# This file is responsible for configuring your application
2# and its dependencies with the aid of the Config module.
3#
4# This configuration file is loaded before any dependency and
5# is restricted to this project.
6
7import Config
8
9config :mime, :types, %{
10 "text/event-stream" => ["sse"]
11}
12
13config :esl_hn,
14 generators: [timestamp_type: :utc_datetime]
15
16# Configures the endpoint
17config :esl_hn, EslHnWeb.Endpoint,
18 url: [host: "localhost"],
19 adapter: Bandit.PhoenixAdapter,
20 render_errors: [
21 formats: [json: EslHnWeb.Error.JSON],
22 layout: false
23 ],
24 pubsub_server: EslHn.PubSub,
25 live_view: [signing_salt: "xzNLXpSZ"]
26
27# Configures Elixir's Logger
28config :logger, :console,
29 format: "$time $metadata[$level] $message\n",
30 metadata: [:request_id, :file, :line, :mfa]
31
32# Use built in JSON for JSON parsing in Phoenix
33config :phoenix, :json_library, JSON
34
35import_config "#{config_env()}.exs"