From 0853db0c2a82211c7bf552dc350a7befbe372d1c Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Thu, 25 Jun 2026 13:30:14 +0900 Subject: [PATCH] =?UTF-8?q?260625=5F05=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=205=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 | 1 - src/app/api/review/[[...slug]]/route.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/(pages)/file-preview/page.tsx b/src/app/(pages)/file-preview/page.tsx index 9a096dc..602856b 100644 --- a/src/app/(pages)/file-preview/page.tsx +++ b/src/app/(pages)/file-preview/page.tsx @@ -27,7 +27,6 @@ export default async function FilePreviewPage({ searchParams }: FilePreviewPageP const title = params.title ?? "파일 미리보기"; const images = parseImages(params.images); const src = params.src ?? ""; - console.log("src", src); const type = params.type ?? (images.length > 0 ? "image" : "pdf"); return ( diff --git a/src/app/api/review/[[...slug]]/route.ts b/src/app/api/review/[[...slug]]/route.ts index 8b41495..5f69120 100644 --- a/src/app/api/review/[[...slug]]/route.ts +++ b/src/app/api/review/[[...slug]]/route.ts @@ -45,7 +45,7 @@ export const GET = async ( if (action === "template" && second === "pdf" && third && fourth && slug.length === 4) { const result = await backApi.get( - `/review/pdf/download/${encodeURIComponent(third)}/${encodeURIComponent(fourth)}`, + `/review/template/pdf/${encodeURIComponent(third)}/${encodeURIComponent(fourth)}`, { expectBinary: true } ); const disposition = req.nextUrl.searchParams.get("disposition") === "inline" ? "inline" : "attachment";