Changeset View
Changeset View
Standalone View
Standalone View
config/config.exs
# This file is responsible for configuring your application | # This file is responsible for configuring your application | ||||
# and its dependencies with the aid of the Mix.Config module. | # and its dependencies with the aid of the Mix.Config module. | ||||
# | # | ||||
# This configuration file is loaded before any dependency and | # This configuration file is loaded before any dependency and | ||||
# is restricted to this project. | # is restricted to this project. | ||||
use Mix.Config | use Mix.Config | ||||
# General application configuration | # General application configuration | ||||
config :kolab_chat, | config :kolab_chat, | ||||
salts: [session_signing: "M7HpCp6W", | salts: [session_signing: "M7HpCp6W", | ||||
session_encryption: nil] | session_encryption: nil] | ||||
# Configures the endpoint | # Configures the endpoint | ||||
config :kolab_chat, KolabChat.Endpoint, | config :kolab_chat, KolabChat.Web.Endpoint, | ||||
url: [host: "localhost"], | url: [host: "localhost"], | ||||
secret_key_base: "XCVqlNuOTjBK3GB4lPKKdoTk9149ftPIJmytpQnYxI4qpGwjJbR47bYdzOAggBii", | secret_key_base: "XCVqlNuOTjBK3GB4lPKKdoTk9149ftPIJmytpQnYxI4qpGwjJbR47bYdzOAggBii", | ||||
render_errors: [view: KolabChat.ErrorView, accepts: ~w(html json)], | render_errors: [view: KolabChat.Web.ErrorView, accepts: ~w(html json)], | ||||
pubsub: [name: KolabChat.PubSub, | pubsub: [name: KolabChat.PubSub, | ||||
adapter: Phoenix.PubSub.PG2] | adapter: Phoenix.PubSub.PG2] | ||||
# Configures Elixir's Logger | # Configures Elixir's Logger | ||||
config :logger, :console, | config :logger, :console, | ||||
format: "$time $metadata[$level] $message\n", | format: "$time $metadata[$level] $message\n", | ||||
metadata: [:request_id] | metadata: [:request_id] | ||||
# Import environment specific config. This must remain at the bottom | # Import environment specific config. This must remain at the bottom | ||||
# of this file so it overrides the configuration defined above. | # of this file so it overrides the configuration defined above. | ||||
import_config "#{Mix.env}.exs" | import_config "#{Mix.env}.exs" |