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.
This commit is contained in:
parent
62cdf701f4
commit
92213fb87c
8 changed files with 13 additions and 9 deletions
|
|
@ -500,6 +500,8 @@ config :pleroma, :oauth2,
|
|||
|
||||
config :pleroma, :database, rum_enabled: false
|
||||
|
||||
config :pleroma, :env, Mix.env()
|
||||
|
||||
config :http_signatures,
|
||||
adapter: Pleroma.Signature
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue