This commit is contained in:
Vendicated 2025-04-08 02:13:22 +02:00
parent eea3a443fa
commit cbf32913d2
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -15,7 +15,7 @@ const MediaAndCssSrc = [...MediaSrc, ...CssSrc];
const MediaScriptsAndCssSrc = [...MediaAndCssSrc, "script-src", "worker-src"];
// Plugins can whitelist their own domains by importing this object in their native.ts
// script and just adding to it
// script and just adding to it. But generally, you should just edit this file instead
export const CspPolicies: PolicyMap = {
"*.github.io": MediaAndCssSrc, // github pages, used by most themes