new(whatsapp.gblib): New WhatsApp provider: Meta.

This commit is contained in:
Rodrigo Rodriguez 2024-05-06 18:21:18 -03:00
parent d07feba899
commit dac6a8f8ec

View file

@ -105,6 +105,13 @@ export class GBServer {
server.use(bodyParser.json());
server.use(bodyParser.json({ limit: '1mb' }));
server.use(bodyParser.urlencoded({ limit: '1mb', extended: true }));
server.use(function(req, res, next) {
for (var key in req.query)
{
req.query[key.toLowerCase()] = req.query[key];
}
next();
});
process.on('SIGTERM', () => {
GBLogEx.info(0, 'SIGTERM signal received.');