Fix wrong option for TLS

This commit is contained in:
Florent 2022-11-15 14:18:28 +01:00 committed by Florent F
parent 910b415561
commit 930c457f4b
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ const elasticOptions = {
if (CONFIG.ELASTIC_SEARCH.SSL.CA) { if (CONFIG.ELASTIC_SEARCH.SSL.CA) {
Object.assign(elasticOptions, { Object.assign(elasticOptions, {
ssl: { tls: {
ca: readFileSync(CONFIG.ELASTIC_SEARCH.SSL.CA) ca: readFileSync(CONFIG.ELASTIC_SEARCH.SSL.CA)
} }
}) })