mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-19 19:45:09 +00:00
add vesktop protocol to csp whitelist
This commit is contained in:
parent
8943c90cb0
commit
b1cdf7a35d
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ const patchCsp = (headers: PolicyMap) => {
|
|||
pushDirective("script-src", "'unsafe-inline'", "'unsafe-eval'");
|
||||
|
||||
for (const directive of ["style-src", "connect-src", "img-src", "font-src", "media-src", "worker-src"]) {
|
||||
pushDirective(directive, "blob:", "data:", "vencord:");
|
||||
pushDirective(directive, "blob:", "data:", "vencord:", "vesktop:");
|
||||
}
|
||||
|
||||
for (const [host, directives] of Object.entries(NativeSettings.store.customCspRules)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue