Fundamental_Analysis/frontend/next.config.mjs
2025-10-21 20:17:14 +08:00

17 lines
340 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
async rewrites() {
return [
{
source: "/api/:path*",
destination: "http://localhost:8000/api/:path*",
},
{
source: "/health",
destination: "http://localhost:8000/health",
},
];
},
};
export default nextConfig;