mirror of
https://github.com/netfun2000/hipudding-teslamate.git
synced 2026-02-27 09:44:28 +08:00
22 lines
603 B
Elixir
22 lines
603 B
Elixir
import Config
|
|
|
|
config :teslamate,
|
|
ecto_repos: [TeslaMate.Repo]
|
|
|
|
config :teslamate, TeslaMateWeb.Endpoint,
|
|
url: [host: "localhost"],
|
|
secret_key_base: "Kz7vmP1gPYv/sogke6P3RP9uipMjOLhneQdbokZVx5gpLsNaN44TD20vtOWkMFIT",
|
|
render_errors: [view: TeslaMateWeb.ErrorView, accepts: ~w(html json)],
|
|
pubsub: [name: TeslaMate.PubSub, adapter: Phoenix.PubSub.PG2],
|
|
live_view: [
|
|
signing_salt: "6nSVV0NtBtBfA9Mjh+7XaZANjp9T73XH"
|
|
]
|
|
|
|
config :logger, :console,
|
|
format: "$time $metadata[$level] $message\n",
|
|
metadata: [:car_id]
|
|
|
|
config :phoenix, :json_library, Jason
|
|
|
|
import_config "#{Mix.env()}.exs"
|