new(all): TRUE multicloud.
This commit is contained in:
parent
6302ade0fe
commit
1f6cb6ed03
2 changed files with 3 additions and 2 deletions
|
@ -56,7 +56,8 @@ export const getRouter = (serviceUrl: string, botUrl: string, conversationInitRe
|
||||||
|
|
||||||
router.post('/v3/directline/conversations',reqs );
|
router.post('/v3/directline/conversations',reqs );
|
||||||
router.post(`/directline/${botId}/conversations`,reqs );
|
router.post(`/directline/${botId}/conversations`,reqs );
|
||||||
|
router.post(`/directline/conversations`,reqs );
|
||||||
|
|
||||||
// Reconnect API
|
// Reconnect API
|
||||||
router.get('/v3/directline/conversations/:conversationId', (req, res) => {
|
router.get('/v3/directline/conversations/:conversationId', (req, res) => {
|
||||||
const conversation = getConversation(req.params.conversationId, conversationInitRequired);
|
const conversation = getConversation(req.params.conversationId, conversationInitRequired);
|
||||||
|
|
|
@ -77,7 +77,7 @@ export class GBUtil {
|
||||||
if (!GBConfigService.get('STORAGE_NAME')) {
|
if (!GBConfigService.get('STORAGE_NAME')) {
|
||||||
config['spec'].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['spec'].openapi = '3.0.0';
|
||||||
delete config['spec'].host;
|
delete config['spec'].host;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue