new(all): TRUE multicloud.
This commit is contained in:
parent
88c370dbdf
commit
3018918707
3 changed files with 2 additions and 2 deletions
|
@ -720,7 +720,7 @@ export class GBMinService {
|
||||||
* Gets Webchat token from Bot Service.
|
* Gets Webchat token from Bot Service.
|
||||||
*/
|
*/
|
||||||
private async getWebchatToken(instance: any) {
|
private async getWebchatToken(instance: any) {
|
||||||
const url = `http://localhost:${process.env.PORT}/v3/directline/tokens/generate`;
|
const url = 'https://directline.botframework.com/v3/directline/tokens/generate';
|
||||||
const options = {
|
const options = {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
@ -1218,7 +1218,7 @@ export class KBService implements IGBKBService {
|
||||||
instance: IGBInstance
|
instance: IGBInstance
|
||||||
): Promise<any> {
|
): Promise<any> {
|
||||||
let subjectsLoaded;
|
let subjectsLoaded;
|
||||||
if (menuFile) {
|
if (Fs.existsSync(menuFile)) {
|
||||||
// Loads menu.xlsx and finds worksheet.
|
// Loads menu.xlsx and finds worksheet.
|
||||||
|
|
||||||
const workbook = new Excel.Workbook();
|
const workbook = new Excel.Workbook();
|
||||||
|
|
BIN
templates/default.gbai/default.gbot/Config.xlsx
Normal file
BIN
templates/default.gbai/default.gbot/Config.xlsx
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue