diff options
| author | href <href@random.sh> | 2018-11-05 14:05:04 +0100 | 
|---|---|---|
| committer | href <href@random.sh> | 2018-11-05 14:05:04 +0100 | 
| commit | d096bc17bf75b756f6c95250660c940419d01f41 (patch) | |
| tree | 4970d29518edc7368ee358082fae4da549039598 | |
| parent | 763fc7b44fb5931f1a2f869d4c67a5ca9a0b5206 (diff) | |
| download | pleroma-d096bc17bf75b756f6c95250660c940419d01f41.tar.gz pleroma-d096bc17bf75b756f6c95250660c940419d01f41.zip | |
revert endpoint position in supervision tree
| -rw-r--r-- | lib/pleroma/application.ex | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index 607a0144c..d4bc8f63d 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -14,6 +14,8 @@ defmodule Pleroma.Application do          # 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( @@ -57,8 +59,6 @@ defmodule Pleroma.Application do          ),          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, | 
