mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 05:13:23 +12:00
chore: add more to the CSP
This commit is contained in:
parent
025b56d1a4
commit
7db262ce16
1 changed files with 7 additions and 1 deletions
|
@ -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')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue