Files
contact-front/next.config.ts

18 lines
340 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
reactCompiler: true,
async rewrites() {
return [
{
source: "/contact-senario/:path*",
destination: `${process.env.CONTACT_SERVER}/contact-senario/:path*`,
},
];
},
};
export default nextConfig;