diff options
| author | rinpatch <rinpatch@sdf.org> | 2019-06-06 23:59:51 +0300 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2019-06-06 23:59:51 +0300 |
| commit | 92213fb87c7996caf9d1188a94907d2231ba25c8 (patch) | |
| tree | e2b00aa1f7fee5f6f07a9b8fb802d9541ae003a5 /config | |
| parent | 62cdf701f47352004c293c3ca049d232b3d16af7 (diff) | |
| download | pleroma-92213fb87c7996caf9d1188a94907d2231ba25c8.tar.gz pleroma-92213fb87c7996caf9d1188a94907d2231ba25c8.zip | |
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.
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 4e2b1703b..c6bf71fc8 100644 --- a/config/config.exs +++ b/config/config.exs @@ -500,6 +500,8 @@ config :pleroma, :oauth2, config :pleroma, :database, rum_enabled: false +config :pleroma, :env, Mix.env() + config :http_signatures, adapter: Pleroma.Signature |
