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

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

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.');