diff --git a/config/config.exs b/config/config.exs index 5cb03e5..dab5d20 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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') }