Files

25 lines
657 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
images: {
remotePatterns: [
{ protocol: 'https', hostname: 'clube67.com' },
{ protocol: 'https', hostname: 'lh3.googleusercontent.com' },
],
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://clube67-backend:3001/api/:path*',
},
{
source: '/uploads/:path*',
destination: 'http://clube67-backend:3001/uploads/:path*',
},
];
},
};
module.exports = nextConfig;