From: rinpatch Date: Fri, 29 May 2020 21:15:07 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/plugs/http_security_plug.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=109af93227f65d308641e345c68c3884addb0181;p=akkoma Apply suggestion to lib/pleroma/plugs/http_security_plug.ex --- diff --git a/lib/pleroma/plugs/http_security_plug.ex b/lib/pleroma/plugs/http_security_plug.ex index 4b926e867..589072535 100644 --- a/lib/pleroma/plugs/http_security_plug.ex +++ b/lib/pleroma/plugs/http_security_plug.ex @@ -75,7 +75,7 @@ defmodule Pleroma.Plugs.HTTPSecurityPlug do sources = get_proxy_and_attachment_sources() {[img_src, sources], [media_src, sources]} else - {img_src <> " https:", media_src <> " https:"} + {[img_src, " https:"], [media_src, " https:"]} end connect_src = ["connect-src 'self' ", static_url, ?\s, websocket_url]