pre.hn/lib/pre_dot_hn/application.ex

13 lines
262 B
Elixir
Raw Normal View History

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