Files
2026-05-14 16:58:06 +00:00

20 lines
420 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
allowedDevOrigins: ['172.20.1.238'],
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://backend:3002/api/:path*',
},
{
source: '/webhooks/:path*',
destination: 'http://backend:3002/webhooks/:path*',
},
];
},
};
module.exports = nextConfig;