From 689b9ce49ecff861205636cf4af3b7b8097870d1 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Fri, 8 Sep 2023 16:16:33 +0200
Subject: [PATCH] add openstreetmap to csp

---
 app/models/communication/website/with_security.rb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app/models/communication/website/with_security.rb b/app/models/communication/website/with_security.rb
index 5707aadf9..d9aa9041d 100644
--- a/app/models/communication/website/with_security.rb
+++ b/app/models/communication/website/with_security.rb
@@ -16,9 +16,10 @@ module Communication::Website::WithSecurity
 
   def external_domains_default
     [
-      'osuny-1b4da.kxcdn.com', # KeyCDN for assets resize
-      '*.osuny.org', # Osuny for assets resize
-      'osuny.s3.fr-par.scw.cloud' # Scaleway for direct assets
+      'osuny-1b4da.kxcdn.com',      # KeyCDN for assets resize
+      '*.osuny.org',                # Osuny for assets resize
+      'osuny.s3.fr-par.scw.cloud',  # Scaleway for direct assets
+      'tile.openstreetmap.org'      # Open Street Map default tiles 
     ]
   end
 
-- 
GitLab