diff --git a/Gemfile b/Gemfile index dcd4a3fcf..5896a3c96 100644 --- a/Gemfile +++ b/Gemfile @@ -101,7 +101,7 @@ group :development, :test do gem 'mina', git: 'https://github.com/mina-deploy/mina.git', require: false # Deploy gem 'pry-byebug' gem 'rspec-rails' - gem 'rspec_junit_formatter' + gem 'rspec_junit_formatter', require: false gem 'ruby-debug-ide', require: false gem 'spring' # Spring speeds up development by keeping your application running in the background gem 'spring-commands-rspec' diff --git a/config/initializers/content_security_policy.rb b/config/initializers/content_security_policy.rb index a812e0e9e..d06d5d578 100644 --- a/config/initializers/content_security_policy.rb +++ b/config/initializers/content_security_policy.rb @@ -9,12 +9,12 @@ Rails.application.config.content_security_policy do |policy| policy.img_src :self, "*.openstreetmap.org", "static.demarches-simplifiees.fr", "*.cloud.ovh.net", "stats.data.gouv.fr" # Whitelist JS: nous, sendinblue et matomo # miniprofiler et nous avons quelques boutons inline :( - policy.script_src :self, "*.sibautomation.com", "stats.data.gouv.fr", "*.sendinblue.com", :unsafe_eval, :unsafe_inline + policy.script_src :self, "*.sibautomation.com", "sibautomation.com", "stats.data.gouv.fr", "*.sendinblue.com", :unsafe_eval, :unsafe_inline # Pour les CSS, on a beaucoup de style inline et quelques balises