메일 관리 작업 저장용 커밋
This commit is contained in:
@@ -18,7 +18,15 @@ const nextConfig = {
|
||||
outputFileTracingRoot: undefined,
|
||||
},
|
||||
|
||||
// 프록시 설정 제거 - 모든 API가 직접 백엔드 호출
|
||||
// API 프록시 설정 - 백엔드로 요청 전달
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: "/api/:path*",
|
||||
destination: "http://host.docker.internal:8080/api/:path*",
|
||||
},
|
||||
];
|
||||
},
|
||||
|
||||
// 개발 환경에서 CORS 처리
|
||||
async headers() {
|
||||
|
||||
Reference in New Issue
Block a user