mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-25 10:27:25 +00:00
Uploads: Sandbox them in the CSP.
This commit is contained in:
parent
8cf4e1619e
commit
a4afeed426
|
@ -41,6 +41,7 @@ defmodule Pleroma.Plugs.UploadedMedia do
|
||||||
conn ->
|
conn ->
|
||||||
conn
|
conn
|
||||||
end
|
end
|
||||||
|
|> merge_resp_headers([{"content-security-policy", "sandbox"}])
|
||||||
|
|
||||||
config = Pleroma.Config.get(Pleroma.Upload)
|
config = Pleroma.Config.get(Pleroma.Upload)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue