/** @type {import('next').NextConfig} */ const nextConfig = { images: { domains: ['localhost'], }, async rewrites() { return [ { source: '/socket.io', destination: 'http://localhost:3001/socket.io', }, ]; }, }; module.exports = nextConfig;