폼전송 기능 수정
CI / test (push) Failing after 4m53s
CI / e2e (push) Has been skipped
CI / pr_and_merge (push) Has been skipped

This commit is contained in:
2025-12-07 19:11:06 +09:00
parent 96fa34cd86
commit 243083261f
27 changed files with 1025 additions and 5 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import { PrismaClient } from "@prisma/client";
import type { Block, ProjectConfig } from "@/features/editor/state/editorStore";
import { buildStaticHtml } from "@/features/export/buildStaticHtml";
import { getCachedPublicProject } from "@/features/projects/publicCache";
import PublicProjectPageClient from "./PublicProjectPageClient";
const prisma = new PrismaClient();
@@ -75,5 +76,5 @@ export default async function PublicProjectPage({ params }: PageParams) {
const mainMatch = fullHtml.match(/<main[\s\S]*?<\/main>/);
const mainHtml = mainMatch ? mainMatch[0] : "";
return <div dangerouslySetInnerHTML={{ __html: mainHtml }} />;
return <PublicProjectPageClient html={mainHtml} />;
}