fix(core.gbapp:using direct prop from singleton)

This commit is contained in:
Zuilho Segundo 2023-03-20 16:35:01 -03:00
parent 56b687792b
commit df3bcd5f6c

View file

@ -283,7 +283,7 @@ export class GBSSR {
// Tries to find botId from URL.
const minBoot = GBServer.globals.minInstances[0];
const minBoot = GBServer.globals.minBoot;
let botId =
req.originalUrl && req.originalUrl === '/' ?
minBoot.botId :