Replace Mix.env with Pleroma.Config.get(:env)
authorrinpatch <rinpatch@sdf.org>
Thu, 6 Jun 2019 20:59:51 +0000 (23:59 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 6 Jun 2019 20:59:51 +0000 (23:59 +0300)
commit92213fb87c7996caf9d1188a94907d2231ba25c8
treee2b00aa1f7fee5f6f07a9b8fb802d9541ae003a5
parent62cdf701f47352004c293c3ca049d232b3d16af7
Replace Mix.env with Pleroma.Config.get(:env)

Mix.env/0 is not availible in release environments such as distillery or
elixir's built-in releases.
config/config.exs
lib/pleroma/application.ex
lib/pleroma/plugs/http_security_plug.ex
lib/pleroma/web/federator/retry_queue.ex
lib/pleroma/web/rel_me.ex
lib/pleroma/web/rich_media/parser.ex
lib/pleroma/web/router.ex
lib/pleroma/web/views/error_view.ex