config.exs 837 B

123456789101112131415161718192021222324
  1. # This file is responsible for configuring your application
  2. # and its dependencies with the aid of the Mix.Config module.
  3. #
  4. # This configuration file is loaded before any dependency and
  5. # is restricted to this project.
  6. use Mix.Config
  7. # Configures the endpoint
  8. config :web, WebWeb.Endpoint,
  9. url: [host: "localhost"],
  10. secret_key_base: "5Rba8snjGJbRPWZ/cjC3WTlnzyj7mn/DFZPuNoj/bJdM/qwjXF86XPfSOSXmEgI/",
  11. render_errors: [view: WebWeb.ErrorView, accepts: ~w(html json)],
  12. pubsub: [name: Web.PubSub,
  13. adapter: Phoenix.PubSub.PG2]
  14. # Configures Elixir's Logger
  15. config :logger, :console,
  16. format: "$time $metadata[$level] $message\n",
  17. metadata: [:request_id]
  18. # Import environment specific config. This must remain at the bottom
  19. # of this file so it overrides the configuration defined above.
  20. import_config "#{Mix.env}.exs"