From b1cdf7a35d17158c05ae22382ef8874bb35d4a54 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 29 Sep 2025 03:47:28 +0200 Subject: [PATCH] add vesktop protocol to csp whitelist --- src/main/csp/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/csp/index.ts b/src/main/csp/index.ts index c4192f4b..887010b6 100644 --- a/src/main/csp/index.ts +++ b/src/main/csp/index.ts @@ -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)) {