fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit f830b01ac9 - Show all commits

View file

@ -256,8 +256,9 @@ export class GBServer {
const host = req.headers.host;
// Roteamento com base no domínio.
if (host === process.env.API_HOST) {
GBLog.info(`Redirecting to API...`);
return httpProxy.web(req, res, { target: 'http://localhost:1111' }); // Express server
}