3df85fdb04
Includes legal document generation workflows, prompt governance runtime wiring, legal change impact scans, operation KPI dashboards, invoice files, sales follow-up events, mobile review polish, deployment automation, and updated project docs.
20 lines
433 B
TypeScript
20 lines
433 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const backendBaseUrl =
|
|
process.env.BACKEND_BASE_URL ??
|
|
(process.env.NODE_ENV === "production" ? "http://backend:8000" : "http://localhost:8000");
|
|
|
|
const nextConfig: NextConfig = {
|
|
devIndicators: false,
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: "/api/v1/:path*",
|
|
destination: `${backendBaseUrl}/api/v1/:path*`,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|