projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
MastodonAPI: Add streaming to media tabs of federated and local TLs
[akkoma]
/
lib
/
pleroma
/
http
/
http.ex
1
defmodule Pleroma.HTTP do
2
use HTTPoison.Base
3
4
def process_request_options(options) do
5
config = Application.get_env(:pleroma, :http, [])
6
proxy = Keyword.get(config, :proxy_url, nil)
7
8
case proxy do
9
nil -> options
10
_ -> options ++ [proxy: proxy]
11
end
12
end
13
end