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

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

View file

@ -286,7 +286,7 @@ export class GBSSR {
const minBoot = GBServer.globals.minBoot;
let onlyChars:any = /\/([A-Za-z0-9\-\_]+)\/*/.exec(req.originalUrl);
onlyChars = onlyChars? onlyChars[1]: null;
onlyChars = onlyChars? onlyChars[1]: minBoot.botId;
let botId =
req.originalUrl && req.originalUrl === '/' ?