@tiledesk/tiledesk-server 2.10.55 → 2.10.56
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
@@ -5,7 +5,7 @@ var configGlobal = require('../../config/global');
|
|
5
5
|
|
6
6
|
var port = process.env.PORT || '3000';
|
7
7
|
|
8
|
-
|
8
|
+
let TILEBOT_ENDPOINT = "http://localhost:" + port + "/modules/tilebot/ext/";;
|
9
9
|
if (process.env.TILEBOT_ENDPOINT) {
|
10
10
|
TILEBOT_ENDPOINT = process.env.TILEBOT_ENDPOINT + "/ext/"
|
11
11
|
}
|
@@ -33,7 +33,7 @@ const uuidv4 = require('uuid/v4');
|
|
33
33
|
var jwt = require('jsonwebtoken');
|
34
34
|
|
35
35
|
const port = process.env.PORT || '3000';
|
36
|
-
|
36
|
+
let TILEBOT_ENDPOINT = "http://localhost:" + port + "/modules/tilebot/ext/";;
|
37
37
|
if (process.env.TILEBOT_ENDPOINT) {
|
38
38
|
TILEBOT_ENDPOINT = process.env.TILEBOT_ENDPOINT + "/ext/"
|
39
39
|
}
|
package/routes/faq_kb.js
CHANGED
@@ -250,7 +250,7 @@ router.put('/:faq_kbid/publish', roleChecker.hasRole('admin'), async (req, res)
|
|
250
250
|
botEvent.emit('faqbot.update', updatedForkedChabot);
|
251
251
|
|
252
252
|
const port = process.env.PORT || '3000';
|
253
|
-
|
253
|
+
let TILEBOT_ENDPOINT = "http://localhost:" + port + "/modules/tilebot/ext/";;
|
254
254
|
if (process.env.TILEBOT_ENDPOINT) {
|
255
255
|
TILEBOT_ENDPOINT = process.env.TILEBOT_ENDPOINT + "/ext/"
|
256
256
|
}
|
@@ -21,7 +21,7 @@ const projectService = require('./projectService');
|
|
21
21
|
const axios = require("axios").default;
|
22
22
|
|
23
23
|
let port = process.env.PORT || '3000';
|
24
|
-
|
24
|
+
let TILEBOT_ENDPOINT = "http://localhost:" + port + "/modules/tilebot/ext/";;
|
25
25
|
if (process.env.TILEBOT_ENDPOINT) {
|
26
26
|
TILEBOT_ENDPOINT = process.env.TILEBOT_ENDPOINT + "/ext/"
|
27
27
|
}
|