const dotenv = require("dotenv"); dotenv.config(); /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, experimental: { outputStandalone: true, }, async rewrites() { return [ { source: "/api/:path*", destination: `${process.env.API_URL}/:path*`, }, ]; }, }; module.exports = nextConfig;