fix(app): comment out boot instance creation and saving in legacy mode
All checks were successful
GBCI / build (push) Successful in 6m44s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-04 16:14:08 -03:00
parent 7594cea1e0
commit 97862e54a5

View file

@ -188,14 +188,14 @@ export class GBServer {
if (GBConfigService.get('GB_MODE') === 'legacy') { if (GBConfigService.get('GB_MODE') === 'legacy') {
await core.initStorage(); await core.initStorage();
[GBServer.globals.bootInstance, azureDeployer] = await core['createBootInstanceEx']( // [GBServer.globals.bootInstance, azureDeployer] = await core['createBootInstanceEx'](
core, // core,
null, // null,
GBServer.globals.publicAddress, // GBServer.globals.publicAddress,
deployer, // deployer,
GBConfigService.get('FREE_TIER') // GBConfigService.get('FREE_TIER')
); // );
await core.saveInstance(GBServer.globals.bootInstance); // await core.saveInstance(GBServer.globals.bootInstance);
} }
else { else {
await core.initStorage(); await core.initStorage();