pre.hn/lib/lain/application.ex

13 lines
254 B
Elixir
Raw Normal View History

2025-01-10 22:30:05 +00:00
defmodule Lain.Application do
2024-11-30 19:01:15 +00:00
use Application
def start(_type, _args) do
children = [
{Bandit, plug: PreDotDn.DevServer}
]
2025-01-10 22:30:05 +00:00
opts = [strategy: :one_for_one, name: Lain.Supervisor]
2024-11-30 19:01:15 +00:00
Supervisor.start_link(children, opts)
end
end