# Start the Ecto repository
supervisor(Pleroma.Repo, []),
worker(Pleroma.Emoji, []),
+ # Start the endpoint when the application starts
+ supervisor(Pleroma.Web.Endpoint, []),
# Start your own worker by calling: Pleroma.Worker.start_link(arg1, arg2, arg3)
# worker(Pleroma.Worker, [arg1, arg2, arg3]),
worker(
),
worker(Pleroma.Web.Federator, []),
worker(Pleroma.Stats, []),
- # Start the endpoint when the application starts
- supervisor(Pleroma.Web.Endpoint, []),
worker(Pleroma.Gopher.Server, [])
] ++
if Mix.env() == :test,