livebook/iframe/lib/livebook_space/application.ex
2023-09-21 12:28:45 +02:00

13 lines
319 B
Elixir

defmodule LivebookSpace.Application do
use Application
def start(_type, _args) do
children = [
{Plug.Cowboy, scheme: :http, plug: LivebookSpaceWeb.Plug, options: [port: 4000]}
]
opts = [strategy: :one_for_one, name: LivebookSpace.Supervisor]
Supervisor.start_link(children, opts)
end
end