260312_01_ENH: Error 페이지 및 Redirect 페이지 구현

This commit is contained in:
2026-03-12 09:36:09 +09:00
parent bedcfbc9d1
commit f7ce249aa7
17 changed files with 710 additions and 6 deletions

View File

@@ -13,6 +13,23 @@ const nextConfig: NextConfig = {
},
];
},
async headers() {
return [
{
source: "/api/external/:path*",
headers: [
{key: "Access-Control-Allow-Credentials", value: "true"},
{key: "Access-Control-Allow-Origin", value: "*"},
{key: "Access-Control-Allow-Methods", value: "GET,POST,PUT,PATCH,DELETE"},
{
key: "Access-Control-Allow-Headers",
value: "Content-Type, Authorization, X-Requested-With",
},
],
},
]
},
};
export default nextConfig;