261026_01_ENH: 사내 연동 API 추가 및 SurveyProgress 전환·문자열 필터 지원
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user