Merge pull request #636 from laysdra7265/fix/sslcapath

Fix sslcapath bug
This commit is contained in:
Christoph (Sheogorath) Kern
2018-01-18 11:17:17 +01:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -96,7 +96,10 @@ config.isSAMLEnable = config.saml.idpSsoUrl
config.isPDFExportEnable = config.allowpdfexport
// generate correct path
config.sslcapath = path.join(appRootPath, config.sslcapath)
config.sslcapath.forEach(function (capath, i, array) {
array[i] = path.resolve(appRootPath, capath)
})
config.sslcertpath = path.join(appRootPath, config.sslcertpath)
config.sslkeypath = path.join(appRootPath, config.sslkeypath)
config.dhparampath = path.join(appRootPath, config.dhparampath)