From 1efb9aba9465936b64aceb5a56c1062a67a8424f Mon Sep 17 00:00:00 2001 From: keven Date: Mon, 29 Sep 2025 13:01:20 -0300 Subject: [PATCH] =?UTF-8?q?[MVPTN-80]=20deploy(Docker):=20Ajuste=20de=20AP?= =?UTF-8?q?I=20de=20requisi=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/next.config.js b/next.config.js index 73e63e9..216a8ee 100644 --- a/next.config.js +++ b/next.config.js @@ -1,7 +1,13 @@ // next.config.js const nextConfig = { - reactStrictMode: true, - // outras configs -} + async rewrites() { + return [ + { + source: '/api/:path*', + destination: 'http://api_saas_api_homologacao:8000/:path*', // backend interno + }, + ]; + }, +}; -export default nextConfig +export default nextConfig;