mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2025-01-25 15:09:34 +00:00
Merge branch 'uploads-csp-changes' into 'develop'
Uploads: Sandbox them in the CSP. See merge request pleroma/pleroma!2389
This commit is contained in:
commit
ad8630b95a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue