/** @type {import('next').NextConfig} */ const nextConfig = { output: "standalone", async rewrites() { return [ { source: "/api/cms/:path*", destination: `${process.env.CMS_SERVICE_BASE_URL || "http://localhost:3000"}/api/v1/:path*`, }, ]; }, }; module.exports = nextConfig;