260805_01_ENH: 이메일 템플릿 저장 시 빈 칸 유지, 외부 설문에서 리스트 단건 조회, 리스트 헤더조회, 리스트 단건 수정 기능 사용할수 있도록 api 라우트 생성 및 cors 완화

This commit is contained in:
2026-08-05 12:18:35 +09:00
parent 618718585c
commit 6a2265e767
10 changed files with 220 additions and 15 deletions

View File

@@ -29,6 +29,17 @@ const nextConfig = createKriNextConfig({
},
],
},
{
source: "/api/list-external/:path*",
headers: [
{ key: "Access-Control-Allow-Origin", value: "*" },
{ key: "Access-Control-Allow-Methods", value: "GET,POST,PATCH" },
{
key: "Access-Control-Allow-Headers",
value: "Content-Type, X-API-Key",
},
],
},
];
},
}) satisfies NextConfig;