Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
thororen1234 2025-03-18 22:53:04 -04:00
commit 534e940f1b
No known key found for this signature in database
3 changed files with 9 additions and 9 deletions

View file

@ -124,7 +124,7 @@ if (IS_VESKTOP || !IS_VANILLA) {
// TODO: Restrict this to only imported packages with fixed version.
// Perhaps auto generate with esbuild
csp["script-src"] ??= [];
csp["script-src"].push("'unsafe-eval'", "https://unpkg.com", "https://cdnjs.cloudflare.com");
csp["script-src"].push("'unsafe-eval'", "https://cdn.jsdelivr.net", "https://cdnjs.cloudflare.com");
headers[header] = [stringifyPolicy(csp)];
}
};