new(all): TRUE multicloud.

This commit is contained in:
Rodrigo Rodriguez 2024-08-20 15:35:03 -03:00
parent 079e16b85a
commit 76b09e8c03

View file

@ -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';