Skip to content

Commit

Permalink
updated tilebot listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Troisi committed Nov 22, 2024
1 parent e4f6a6a commit b1dbca6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pubmodules/tilebot/listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ winston.debug("TILEBOT_ENDPOINT: " + TILEBOT_ENDPOINT);

winston.info("Tilebot endpoint: " + TILEBOT_ENDPOINT);


const apiUrl = process.env.API_URL || configGlobal.apiUrl;
/**
* process.env.API_ENDPOINT --> Internal url of the server inside the cluster
* process.env.API_URL --> External/Public server url
*/
const apiUrl = process.env.API_ENDPOINT || process.env.API_URL || configGlobal.apiUrl;
winston.info('Rasa apiUrl: '+ apiUrl);

const tybot = require("@tiledesk/tiledesk-tybot-connector");
Expand Down

0 comments on commit b1dbca6

Please sign in to comment.