projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make 2fa UI less awful
[akkoma]
/
lib
/
pleroma
/
web
/
plugs
/
http_security_plug.ex
diff --git
a/lib/pleroma/web/plugs/http_security_plug.ex
b/lib/pleroma/web/plugs/http_security_plug.ex
index 6593347caf2a6d8281e701fccaea64bcbca7c0f8..5f0b775bea9e1025b28bdbc03111308743f7c02a 100644
(file)
--- a/
lib/pleroma/web/plugs/http_security_plug.ex
+++ b/
lib/pleroma/web/plugs/http_security_plug.ex
@@
-111,8
+111,8
@@
defmodule Pleroma.Web.Plugs.HTTPSecurityPlug do
["connect-src 'self' blob: ", static_url, ?\s, websocket_url]
end
["connect-src 'self' blob: ", static_url, ?\s, websocket_url]
end
- style_src = "style-src 'self' '
#{nonce_tag}
'"
- font_src = "font-src 'self'
'#{nonce_tag}'
data:"
+ style_src = "style-src 'self' '
unsafe-inline
'"
+ font_src = "font-src 'self' data:"
script_src =
if Config.get(:env) == :dev do
script_src =
if Config.get(:env) == :dev do