new(all): TRUE multicloud.

This commit is contained in:
Rodrigo Rodriguez 2024-08-20 15:49:28 -03:00
parent 5df0ed0180
commit 6302ade0fe
2 changed files with 5 additions and 2 deletions

View file

@ -15,6 +15,7 @@
"url": "https://opensource.org/licenses/MIT" "url": "https://opensource.org/licenses/MIT"
} }
}, },
"host": "directline.botframework.com",
"schemes": [ "schemes": [
"https" "https"
], ],

View file

@ -75,10 +75,12 @@ export class GBUtil {
} }
}; };
if (!GBConfigService.get('STORAGE_NAME')) { if (!GBConfigService.get('STORAGE_NAME')) {
(config['url'] = `http://127.0.0.1:${GBConfigService.getServerPort()}/api/messages`), config['spec'].url = `http://127.0.0.1:${GBConfigService.getServerPort()}/api/messages`,
(config['spec'].servers = [{ 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'; config['openapi'] = '3.0.0';
delete config['spec'].host;
} }
return await new SwaggerClient(config); return await new SwaggerClient(config);
} }