From bb106b7c49a6f1019194738a66ee75c8584680a8 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 7 Jun 2025 01:31:04 +0200 Subject: [PATCH] whitelist catbox for use in themes --- src/main/csp.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/csp.ts b/src/main/csp.ts index 3e592ccb..2faee606 100644 --- a/src/main/csp.ts +++ b/src/main/csp.ts @@ -35,6 +35,7 @@ export const CspPolicies: PolicyMap = { "i.ibb.co": MediaSrc, // ImgBB, used by some themes "i.pinimg.com": MediaSrc, // Pinterest, used by some themes "*.tenor.com": MediaSrc, // Tenor, used by some themes + "files.catbox.moe": MediaSrc, // Catbox, used by some themes "cdn.discordapp.com": MediaAndCssSrc, // Discord CDN, used by Vencord and some themes to load media "media.discordapp.net": MediaSrc, // Discord media CDN, possible alternative to Discord CDN