diff --git a/web/default/src/features/home/index.tsx b/web/default/src/features/home/index.tsx index 0494191ec6b..d79e3c15a2c 100644 --- a/web/default/src/features/home/index.tsx +++ b/web/default/src/features/home/index.tsx @@ -47,11 +47,21 @@ export function Home() { if (isUrl) { return ( + {/* + The custom home page URL is admin-configured (trusted). + - allow-same-origin: keep the embedded page's real origin so its own + same-origin resources (notably @font-face fonts) are not treated as + cross-origin and blocked by CORS. + - allow-top-navigation-by-user-activation: let the embedded page's + target="_top" links navigate the top-level window on user click + (e.g. nav/menu links), which the default sandbox otherwise blocks. + This mirrors the existing trusted-iframe usage in web-preview.tsx. + */}