livebook/config/config.exs
2022-04-15 13:46:26 +02:00

34 lines
879 B
Elixir

import Config
# Configures the endpoint
config :livebook, LivebookWeb.Endpoint,
url: [host: "localhost"],
pubsub_server: Livebook.PubSub,
live_view: [signing_salt: "livebook"]
# 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,
app_service_name: nil,
app_service_url: nil,
authentication_mode: :token,
explore_notebooks: [],
plugs: [],
shutdown_enabled: false,
storage: Livebook.Storage.Ets
# 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"