mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-27 01:42:11 +08:00
285bc923b7
Co-authored-by: José Valim <jose.valim@gmail.com>
34 lines
898 B
Elixir
34 lines
898 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,
|
|
learn_notebooks: [],
|
|
feature_flags: [],
|
|
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"
|