This commit is contained in:
Pieter Vander Vennet 2023-10-05 22:21:43 +02:00
parent 5ea08040d7
commit e37f90855f

View file

@ -241,6 +241,8 @@ function generateCsp(
...Constants.defaultOverpassUrls, ...Constants.defaultOverpassUrls,
Constants.countryCoderEndpoint, Constants.countryCoderEndpoint,
Constants.nominatimEndpoint, Constants.nominatimEndpoint,
AvailableRasterLayers.maptilerCarto.properties.url,
AvailableRasterLayers.maptilerDefaultLayer.properties.url,
"https://api.openstreetmap.org", "https://api.openstreetmap.org",
"https://pietervdvn.goatcounter.com", "https://pietervdvn.goatcounter.com",
].concat(...SpecialVisualizations.specialVisualizations.map((sv) => sv.needsUrls)) ].concat(...SpecialVisualizations.specialVisualizations.map((sv) => sv.needsUrls))