21 lines
457 B
Elixir
21 lines
457 B
Elixir
defmodule SloanelyButSurely.Application do
|
|
@moduledoc false
|
|
use Application
|
|
|
|
@impl Application
|
|
def start(_type, _args) do
|
|
children = [
|
|
Core.Repo,
|
|
{Phoenix.PubSub, name: Core.PubSub},
|
|
Web.Endpoint
|
|
]
|
|
|
|
Supervisor.start_link(children, strategy: :one_for_one, name: Core.Supervisor)
|
|
end
|
|
|
|
@impl Application
|
|
def config_change(changed, _new, removed) do
|
|
Web.Endpoint.config_change(changed, removed)
|
|
:ok
|
|
end
|
|
end
|