From a4b2fc7ca89c7916a32a3e279ab3880ebaa7a734 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sat, 23 Aug 2025 16:03:06 +0300 Subject: fix(security): Add CSP policies on asset serving path --- .../dashboard/preview/LinkContentSection.tsx | 1 + packages/api/utils/assets.ts | 21 +++++++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/apps/web/components/dashboard/preview/LinkContentSection.tsx b/apps/web/components/dashboard/preview/LinkContentSection.tsx index 67de4e75..a0a6f580 100644 --- a/apps/web/components/dashboard/preview/LinkContentSection.tsx +++ b/apps/web/components/dashboard/preview/LinkContentSection.tsx @@ -62,6 +62,7 @@ function FullPageArchiveSection({ link }: { link: ZBookmarkedLink }) { link.fullPageArchiveAssetId ?? link.precrawledArchiveAssetId; return (