From c5ec78e5f9b46e6ade1c79e04295953fba8ea276 Mon Sep 17 00:00:00 2001 From: bytecii <994513625@qq.com> Date: Wed, 11 Feb 2026 23:23:49 -0800 Subject: [PATCH] fix: allow js scipts for most https origin (#1236) Co-authored-by: bytecii Co-authored-by: Wendong-Fan Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com> --- index.html | 43 ++++++++++++++++++++++++++++++++- src/components/Folder/index.tsx | 1 + 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 5c3481fa..e000c9cd 100644 --- a/index.html +++ b/index.html @@ -4,9 +4,50 @@ + Eigent diff --git a/src/components/Folder/index.tsx b/src/components/Folder/index.tsx index 82388547..0f4877ea 100644 --- a/src/components/Folder/index.tsx +++ b/src/components/Folder/index.tsx @@ -1038,6 +1038,7 @@ function HtmlRenderer({ height: `${10000 / zoom}%`, }} > + {/*Security is maintained via CSP allowlist in index.html which restricts script sources. */}