Use Pleroma.Config everywhere

This commit is contained in:
Egor Kislitsyn 2019-05-30 15:33:58 +07:00
commit 99f70c7e20
18 changed files with 80 additions and 151 deletions

View file

@ -61,7 +61,7 @@ defmodule Pleroma.ReverseProxy do
* `http`: options for [hackney](https://github.com/benoitc/hackney).
"""
@hackney Application.get_env(:pleroma, :hackney, :hackney)
@hackney Pleroma.Config.get(:hackney, :hackney)
@default_hackney_options []