[MVPTN-80] deploy(Docker): Ajuste de API de requisição
This commit is contained in:
parent
449340c7b4
commit
1efb9aba94
1 changed files with 10 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue