We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9949795 commit fc626a6Copy full SHA for fc626a6
lib/config/index.js
@@ -95,14 +95,9 @@ config.isLDAPEnable = config.ldap.url
95
config.isPDFExportEnable = config.allowpdfexport
96
97
// generate correct path
98
-config.sslcapath = (function () {
99
- var i, len, results
100
- results = []
101
- for (i = 0, len = config.sslcapath.length; i < len; i++) {
102
- results.push(path.resolve(appRootPath, config.sslcapath[i]))
103
- }
104
- return results
105
-})()
+config.sslcapath.forEach(function (capath, i, array) {
+ array[i] = path.resolve(appRootPath, capath)
+})
106
107
config.sslcertpath = path.join(appRootPath, config.sslcertpath)
108
config.sslkeypath = path.join(appRootPath, config.sslkeypath)
0 commit comments