261026_01_ENH: 사내 연동 API 추가 및 SurveyProgress 전환·문자열 필터 지원

This commit is contained in:
2026-10-26 11:57:21 +09:00
parent 9e9fe45d03
commit d4747b0ea0
5 changed files with 407 additions and 1 deletions

View File

@@ -1,6 +1,26 @@
import type { NextConfig } from "next";
import { createKriNextConfig } from "@kri/common/config";
const nextConfig = createKriNextConfig({}) satisfies NextConfig;
const nextConfig = createKriNextConfig({
async headers() {
return [
{
source: "/api/kric-internal/:path*",
headers: [
{ key: "Access-Control-Allow-Origin", value: "*" },
{ key: "Access-Control-Allow-Methods", value: "GET, POST, OPTIONS" },
{
key: "Access-Control-Allow-Headers",
value: "Content-Type, X-API-Key",
},
{
key: "Access-Control-Expose-Headers",
value: "Content-Disposition",
},
],
},
];
},
}) satisfies NextConfig;
export default nextConfig;