Merge branch 'main' of https://github.com/GeneralBots/BotServer
This commit is contained in:
commit
2fe293ec8b
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ export class GBSSR {
|
||||||
|
|
||||||
// Tries to find botId from URL.
|
// Tries to find botId from URL.
|
||||||
|
|
||||||
const minBoot = GBServer.globals.minInstances[0];
|
const minBoot = GBServer.globals.minBoot;
|
||||||
let botId =
|
let botId =
|
||||||
req.originalUrl && req.originalUrl === '/' ?
|
req.originalUrl && req.originalUrl === '/' ?
|
||||||
minBoot.botId :
|
minBoot.botId :
|
||||||
|
|
Loading…
Add table
Reference in a new issue