livebook/config/config.exs

32 lines
830 B
Elixir
Raw Normal View History

import Config
2021-01-08 03:55:45 +08:00
# Configures the endpoint
config :livebook, LivebookWeb.Endpoint,
2021-01-08 03:55:45 +08:00
url: [host: "localhost"],
pubsub_server: Livebook.PubSub,
live_view: [signing_salt: "livebook"]
2021-01-08 03:55:45 +08:00
# Configures Elixir's Logger
config :logger, :console,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id]
# Use Jason for JSON parsing in Phoenix
config :phoenix, :json_library, Jason
# Add mime type to upload notebooks with `Phoenix.LiveView.Upload`
config :mime, :types, %{
"text/plain" => ["livemd"]
}
config :livebook,
authentication_mode: :token,
explore_notebooks: [],
plugs: [],
shutdown_enabled: false,
storage: Livebook.Storage.Ets
2021-01-08 03:55:45 +08:00
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"