forked from MapComplete/MapComplete
Attempt to fix #1988
This commit is contained in:
parent
aeb9d7f710
commit
72d10863b8
1 changed files with 2 additions and 0 deletions
|
@ -392,6 +392,8 @@ class GenerateLayouts extends Script {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hosts.add("http://www.schema.org") // Schema.org is _not_ encrypted and thus needs an exception
|
||||||
|
|
||||||
if (hosts.has("*")) {
|
if (hosts.has("*")) {
|
||||||
throw "* is not allowed as connect-src"
|
throw "* is not allowed as connect-src"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue