diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..0f8a14d --- /dev/null +++ b/next.config.js @@ -0,0 +1,10 @@ +module.exports = { + async rewrites() { + return [ + { + source: '/api/:path*', + destination: 'http://api_saas_api_homologacao:8000/:path*', // backend interno + }, + ]; + }, +};