forked from MapComplete/MapComplete
Fix: add all vector layers to CSP
This commit is contained in:
parent
36a73f3a17
commit
2736740cd0
2 changed files with 8 additions and 9 deletions
|
@ -245,8 +245,7 @@ function generateCsp(
|
|||
...Constants.defaultOverpassUrls,
|
||||
Constants.countryCoderEndpoint,
|
||||
Constants.nominatimEndpoint,
|
||||
AvailableRasterLayers.maptilerCarto.properties.url,
|
||||
AvailableRasterLayers.maptilerDefaultLayer.properties.url,
|
||||
...AvailableRasterLayers.vectorLayers.map(l => l.properties.url),
|
||||
"https://api.openstreetmap.org",
|
||||
"https://pietervdvn.goatcounter.com",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue