projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a59fde
)
Check for media proxy base_url, not Upload base_url
author
Mark Felder
<feld@FreeBSD.org>
Thu, 11 Jun 2020 16:05:22 +0000
(11:05 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Thu, 11 Jun 2020 16:05:22 +0000
(11:05 -0500)
lib/pleroma/plugs/http_security_plug.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/plugs/http_security_plug.ex
b/lib/pleroma/plugs/http_security_plug.ex
index 620408d0fbff187dac8466da86965d877cb27ffd..1420a96113e92a777df09ef5263c317c032a7b69 100644
(file)
--- a/
lib/pleroma/plugs/http_security_plug.ex
+++ b/
lib/pleroma/plugs/http_security_plug.ex
@@
-114,7
+114,7
@@
defmodule Pleroma.Plugs.HTTPSecurityPlug do
end)
media_proxy_base_url =
- if Config.get([
Pleroma.Upload
, :base_url]),
+ if Config.get([
:media_proxy
, :base_url]),
do: URI.parse(Config.get([:media_proxy, :base_url])).host
upload_base_url =