mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
Read to correct tlsca file path
This commit is contained in:
parent
0a6793747c
commit
bf3512f8f6
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ if (config.ldap.tlsca) {
|
|||
let ca = config.ldap.tlsca.split(',')
|
||||
let caContent = []
|
||||
for (let i of ca) {
|
||||
if (fs.existsSync(ca[i])) {
|
||||
caContent.push(fs.readFileSync(ca[i], 'utf8'))
|
||||
if (fs.existsSync(i)) {
|
||||
caContent.push(fs.readFileSync(i, 'utf8'))
|
||||
}
|
||||
}
|
||||
let tlsOptions = {
|
||||
|
|
Loading…
Reference in a new issue