260805_01_ENH: 이메일 템플릿 저장 시 빈 칸 유지, 외부 설문에서 리스트 단건 조회, 리스트 헤더조회, 리스트 단건 수정 기능 사용할수 있도록 api 라우트 생성 및 cors 완화
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user