forked from MapComplete/MapComplete
Fix: add 'self' to connect-src
This commit is contained in:
parent
8f32916454
commit
3bca1305b5
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ async function generateCsp(
|
|||
}
|
||||
|
||||
const geojsonSources: string[] = layout.layers.map((l) => l.source?.geojsonSource)
|
||||
const hosts = new Set<string>()
|
||||
const hosts = new Set<string>("self")
|
||||
const eliLayers: RasterLayerPolygon[] = AvailableRasterLayers.layersAvailableAt(
|
||||
new ImmutableStore({ lon: 0, lat: 0 })
|
||||
).data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue