[MVPTN-80] deploy(Docker): Ajuste de API de requisição
This commit is contained in:
parent
f10de65f74
commit
dd028fd38e
1 changed files with 10 additions and 0 deletions
10
next.config.js
Normal file
10
next.config.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
module.exports = {
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/api/:path*',
|
||||
destination: 'http://api_saas_api_homologacao:8000/:path*', // backend interno
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue