mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-21 10:35:56 +08:00
cc9d5a8103
* Render modal components at the end of live views * Add error pages * Restructure web module * Update lib/livebook_web/templates/error/500.html.eex Co-authored-by: José Valim <jose.valim@dashbit.co> * Update lib/livebook_web/templates/error/500.html.eex Co-authored-by: José Valim <jose.valim@dashbit.co> * Update lib/livebook_web/views/error_view.ex Co-authored-by: José Valim <jose.valim@dashbit.co> Co-authored-by: José Valim <jose.valim@dashbit.co>
26 lines
864 B
Elixir
26 lines
864 B
Elixir
import Config
|
|
|
|
# Configures the endpoint
|
|
config :livebook, LivebookWeb.Endpoint,
|
|
url: [host: "localhost"],
|
|
secret_key_base: "9hHHeOiAA8wrivUfuS//jQMurHxoMYUtF788BQMx2KO7mYUE8rVrGGG09djBNQq7",
|
|
pubsub_server: Livebook.PubSub,
|
|
live_view: [signing_salt: "mAPgPEM4"]
|
|
|
|
# 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
|
|
|
|
# Configure the type of names used for distribution
|
|
# and the name of the main Livebook node.
|
|
config :livebook, :node_name, {:shortnames, :livebook}
|
|
# config :livebook, :node_name, {:longnames, :"livebook@127.0.0.1"}
|
|
|
|
# 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"
|