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;