/** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', trailingSlash: true, images: { unoptimized: true }, async rewrites() { return [ { source: '/api/:path*', destination: 'http://localhost:8081/api/:path*' } ] } } module.exports = nextConfig