import type { NextConfig } from "next"; const nextConfig: NextConfig = { async rewrites() { return [ { source: "/sewerage-service/api/:path*", // 프론트엔드에서 호출할 API URL destination: "http://localhost:8000/sewerage-service/api/:path*", // 백엔드의 실제 API URL }, ]; } }; export default nextConfig;