/** @type {import('next').NextConfig} */ const nextConfig = { async rewrites() { return [ { source: '/api/:path*', destination: `${process.env.NEXT_PUBLIC_HOST}/:path*`, }, ]; }, }; export default nextConfig;