13 lines
251 B
JavaScript
13 lines
251 B
JavaScript
// next.config.js
|
|
const nextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: 'http://api_saas_api_homologacao:8000/:path*', // backend interno
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|