From 959622c634efd1c2852a2796cdb6c8aad7ceee27 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Tue, 10 Jun 2025 15:19:41 -0400 Subject: [PATCH] Add Frame SRC --- src/main/csp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/csp.ts b/src/main/csp.ts index 2faee606..08a200d6 100644 --- a/src/main/csp.ts +++ b/src/main/csp.ts @@ -12,7 +12,7 @@ export const ConnectSrc = ["connect-src"]; export const MediaSrc = [...ConnectSrc, "img-src", "media-src"]; export const CssSrc = ["style-src", "font-src"]; export const MediaAndCssSrc = [...MediaSrc, ...CssSrc]; -export const MediaScriptsAndCssSrc = [...MediaAndCssSrc, "script-src", "worker-src"]; +export const MediaScriptsAndCssSrc = [...MediaAndCssSrc, "script-src", "worker-src", "frame-src"]; // Plugins can whitelist their own domains by importing this object in their native.ts // script and just adding to it. But generally, you should just edit this file instead