Files
frontend/apps/sn/next.config.ts
T

15 lines
364 B
TypeScript

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;