forked from MapComplete/MapComplete
Fix: include lod-proxy in CSp
This commit is contained in:
parent
4ae35ae101
commit
087c099e2e
1 changed files with 2 additions and 2 deletions
|
@ -1754,7 +1754,7 @@ export default class SpecialVisualizations {
|
|||
}
|
||||
|
||||
],
|
||||
needsUrls: (args) => [args[2] ?? Constants.linkedDataProxy, "http://www.schema.org"],
|
||||
needsUrls: [Constants.linkedDataProxy, "http://www.schema.org"],
|
||||
constr(
|
||||
state: SpecialVisualizationState,
|
||||
tags: UIEventSource<Record<string, string>>,
|
||||
|
@ -1766,7 +1766,7 @@ export default class SpecialVisualizations {
|
|||
const useProxy = argument[1] !== "no"
|
||||
const readonly = argument[3] === "readonly"
|
||||
|
||||
let url = tags.mapD(tags => {
|
||||
const url = tags.mapD(tags => {
|
||||
if (!tags._country || !tags[key] || tags[key] === "undefined") {
|
||||
return null
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue