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') {
await core.initStorage();
[GBServer.globals.bootInstance, azureDeployer] = await core['createBootInstanceEx'](
core,
null,
GBServer.globals.publicAddress,
deployer,
GBConfigService.get('FREE_TIER')
);
await core.saveInstance(GBServer.globals.bootInstance);
// [GBServer.globals.bootInstance, azureDeployer] = await core['createBootInstanceEx'](
// core,
// null,
// GBServer.globals.publicAddress,
// deployer,
// GBConfigService.get('FREE_TIER')
// );
// await core.saveInstance(GBServer.globals.bootInstance);
}
else {
await core.initStorage();