init tesla and updated the http requests in Pleroma.Web.Websub
This commit is contained in:
parent
88b05aeabb
commit
3ce16e5a56
8 changed files with 175 additions and 9 deletions
|
|
@ -72,6 +72,7 @@ config :mime, :types, %{
|
|||
config :pleroma, :websub, Pleroma.Web.Websub
|
||||
config :pleroma, :ostatus, Pleroma.Web.OStatus
|
||||
config :pleroma, :httpoison, Pleroma.HTTP
|
||||
config :tesla, adapter: Tesla.Adapter.Hackney
|
||||
|
||||
# Configures http settings, upstream proxy etc.
|
||||
config :pleroma, :http, proxy_url: nil
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ config :pbkdf2_elixir, rounds: 1
|
|||
config :pleroma, :websub, Pleroma.Web.WebsubMock
|
||||
config :pleroma, :ostatus, Pleroma.Web.OStatusMock
|
||||
config :pleroma, :httpoison, HTTPoisonMock
|
||||
config :tesla, adapter: Tesla.Mock
|
||||
|
||||
try do
|
||||
import_config "test.secret.exs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue