From 5b3298eaec7c086d1beea850aa78eed153743897 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Thu, 25 Jun 2026 13:17:37 +0900 Subject: [PATCH] =?UTF-8?q?260625=5F03=5FENH:=20=EC=97=B0=EA=B5=AC,=20?= =?UTF-8?q?=EC=8B=A4=EC=82=AC=20=EC=88=98=EC=A0=95=EC=82=AC=ED=95=AD=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9=203=EC=B0=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(pages)/file-preview/page.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/(pages)/file-preview/page.tsx b/src/app/(pages)/file-preview/page.tsx index 8f59380..602856b 100644 --- a/src/app/(pages)/file-preview/page.tsx +++ b/src/app/(pages)/file-preview/page.tsx @@ -17,7 +17,10 @@ const parseImages = (images?: string) => { } }; -const isAllowedSrc = (src: string) => src.startsWith("/api/review/pdf/") || src.startsWith("/api/file/"); +const isAllowedSrc = (src: string) => + src.startsWith("/api/review/pdf/") || + src.startsWith("/api/review/template/pdf/") || + src.startsWith("/api/file/"); export default async function FilePreviewPage({ searchParams }: FilePreviewPageProps) { const params = await searchParams; @@ -64,4 +67,4 @@ export default async function FilePreviewPage({ searchParams }: FilePreviewPageP )} ); -} \ No newline at end of file +}