fix(basic.gbapp): AS IMAGE testing.

This commit is contained in:
Rodrigo Rodriguez 2023-08-20 16:12:36 -03:00
parent 8e1289adb9
commit ba8cb1e4e1

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 === '/' ?