@tiledesk/tiledesk-server 2.4.6 → 2.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -6,13 +6,13 @@ var config = require('../../config/database'); // get db config file
|
|
6
6
|
let configSecretOrPubicKay = process.env.GLOBAL_SECRET || config.secret;
|
7
7
|
|
8
8
|
var pKey = process.env.GLOBAL_SECRET_OR_PUB_KEY;
|
9
|
-
|
9
|
+
console.log("pKey",pKey);
|
10
10
|
|
11
11
|
if (pKey) {
|
12
12
|
configSecretOrPubicKay = pKey.replace(/\\n/g, '\n');
|
13
13
|
}
|
14
14
|
|
15
|
-
|
15
|
+
console.log("configSecretOrPubicKay",configSecretOrPubicKay);
|
16
16
|
|
17
17
|
class Listener {
|
18
18
|
|
@@ -23,6 +23,7 @@ class Listener {
|
|
23
23
|
if (config.databaseUri) {
|
24
24
|
winston.debug("apps config databaseUri: " + config.databaseUri);
|
25
25
|
}
|
26
|
+
console.log("ACCESS_TOKEN_SECRET",process.env.APPS_ACCESS_TOKEN_SECRET || configSecretOrPubicKay);
|
26
27
|
|
27
28
|
apps.startApp({
|
28
29
|
ACCESS_TOKEN_SECRET: process.env.APPS_ACCESS_TOKEN_SECRET || configSecretOrPubicKay,
|