fix(core.gbapp): Min Boot bot now is defined again.
This commit is contained in:
parent
081113632a
commit
f65b3ea9c4
1 changed files with 4 additions and 2 deletions
|
@ -615,8 +615,6 @@ export class GBMinService {
|
|||
new Date(new Date().setFullYear(new Date().getFullYear() + 10))
|
||||
);
|
||||
|
||||
|
||||
|
||||
// The minimal bot is built here.
|
||||
|
||||
const min = new GBMinInstance();
|
||||
|
@ -635,6 +633,10 @@ export class GBMinService {
|
|||
min.packages = sysPackages;
|
||||
min.appPackages = appPackages;
|
||||
|
||||
if (GBServer.globals.minBoot === undefined) {
|
||||
GBServer.globals.minBoot = min;
|
||||
}
|
||||
|
||||
if (process.env.FACEBOOK_VERIFY_TOKEN) {
|
||||
min['fbAdapter'] = new FacebookAdapter({
|
||||
verify_token: process.env.FACEBOOK_VERIFY_TOKEN,
|
||||
|
|
Loading…
Add table
Reference in a new issue