From a8e3280b7db51b8cdf4defaeecdc9a91fb75e4ea Mon Sep 17 00:00:00 2001 From: bytecii Date: Wed, 11 Feb 2026 15:38:05 -0800 Subject: [PATCH] fix --- index.html | 50 ++++++++++++++++++++++++++++++++- src/components/Folder/index.tsx | 4 ++- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index deda7059..0c733ee3 100644 --- a/index.html +++ b/index.html @@ -4,9 +4,57 @@ + Eigent diff --git a/src/components/Folder/index.tsx b/src/components/Folder/index.tsx index 08476c69..60bccc8d 100644 --- a/src/components/Folder/index.tsx +++ b/src/components/Folder/index.tsx @@ -1034,11 +1034,13 @@ function HtmlRenderer({ height: `${10000 / zoom}%`, }} > + {/* allow-same-origin: lets agent-generated HTML access localStorage/sessionStorage (e.g. saving game state). + Security is maintained via CSP allowlist in index.html which restricts script sources. */}