23 lines
653 B
Plaintext
23 lines
653 B
Plaintext
import type { NextConfig } from "next";
|
|
|
|
// Next.js 핵심 설정 파일, Next.js가 시작할 때 이 파일을 찾아서 읽음
|
|
// 여기에 Next.js 설정 옵션을 정의할 수 있음
|
|
const nextConfig: NextConfig = {
|
|
eslint: {
|
|
ignoreDuringBuilds: true, // 빌드 시 ESLint warning 무시
|
|
},
|
|
typescript: {
|
|
ignoreBuildErrors: true, // 빌드 시 TypeScript 에러 무시 (임시)
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/backend/api/:path*', // /api가 붙은 모든 요청
|
|
destination: 'http://192.168.11.249:4000/:path*', // 백엔드 API로 요청
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|