fix(basic.gbapp): AS IMAGE testing.

This commit is contained in:
Rodrigo Rodriguez 2023-08-20 16:12:36 -03:00
parent 10753336bd
commit 8c88ffb1b1

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