Add schema.org to connect-sources

This commit is contained in:
Pieter Vander Vennet 2024-02-29 16:50:43 +01:00
parent f89123d318
commit 49154e1809
2 changed files with 2 additions and 1 deletions

View file

@ -334,6 +334,7 @@ async function generateCsp(
}
}
hosts.add("http://www.schema.org") // We add schema.org as it must be http, not https
if (hosts.has("*")) {
throw "* is not allowed as connect-src"
}