develop #3

Merged
gitadmin merged 24 commits from develop into master 2026-07-02 11:38:20 +09:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 0853db0c2a - Show all commits

View File

@@ -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 (

View File

@@ -45,7 +45,7 @@ export const GET = async (
if (action === "template" && second === "pdf" && third && fourth && slug.length === 4) {
const result = await backApi.get<ArrayBuffer>(
`/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";