config.exs 1002 B

12345678910111213141516171819202122232425262728
  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. # General application configuration
  7. use Mix.Config
  8. # Configures the endpoint
  9. config :fourletters, FourlettersWeb.Endpoint,
  10. url: [host: "localhost"],
  11. secret_key_base: "0uufssOtHojOe84Byp9qpanj9A97/GTNib3rWZDh+VZ84UXdgmLBkrh91cBvcL1G",
  12. render_errors: [view: FourlettersWeb.ErrorView, accepts: ~w(html json), layout: false],
  13. pubsub_server: Fourletters.PubSub,
  14. live_view: [signing_salt: "6h8UNurG"]
  15. # Configures Elixir's Logger
  16. config :logger, :console,
  17. format: "$time $metadata[$level] $message\n",
  18. metadata: [:request_id]
  19. # Use Jason for JSON parsing in Phoenix
  20. config :phoenix, :json_library, Jason
  21. # Import environment specific config. This must remain at the bottom
  22. # of this file so it overrides the configuration defined above.
  23. import_config "#{Mix.env()}.exs"