From 76b09e8c038387af2f5a3b17f28bb049ddf2621a Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Tue, 20 Aug 2024 15:35:03 -0300 Subject: [PATCH] new(all): TRUE multicloud. --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index 407a3389..dac4cc55 100644 --- a/src/util.ts +++ b/src/util.ts @@ -74,7 +74,7 @@ export class GBUtil { req.headers['Authorization'] = `Bearer ${min.instance.webchatKey}`; } }; - if (GBConfigService.get('STORAGE_FILE')) { + if (!GBConfigService.get('STORAGE_NAME')) { (config['url'] = `http://127.0.0.1:${GBConfigService.getServerPort()}/api/messages`), (config['spec'].servers = [{ url: `http://127.0.0.1:${GBConfigService.getServerPort()}/api/messages` }]); config['openapi'] = '3.0.0';