chore: add more to the CSP

This commit is contained in:
Zach Daniel 2022-08-06 22:23:17 -04:00
parent 025b56d1a4
commit 7db262ce16

View file

@ -72,5 +72,11 @@ import_config "#{config_env()}.exs"
config :plug_content_security_policy,
nonces_for: [:script_src],
directives: %{
img_src: ~w('self' data data:)
img_src: ~w('self' data data:),
default_src: ~w('none'),
connect_src: ~w('self'),
child_src: ~w('self'),
img_src: ~w('self'),
script_src: ~w('self'),
style_src: ~w('self')
}