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