Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service folder restructuring causing db utils to look for tls folder at wrong level. #1170

Closed
cd-rite opened this issue Jan 4, 2024 · 0 comments · Fixed by #1171
Closed

Comments

@cd-rite
Copy link
Collaborator

cd-rite commented Jan 4, 2024

Lines 44, 47, and 50 in utils.js need to reference just one level up, rather than two, now.

sslConfig.ca = fs.readFileSync(path.join(__dirname, '..', '..', 'tls', config.database.tls.ca_file))
}
if (config.database.tls.cert_file) {
sslConfig.cert = fs.readFileSync(path.join(__dirname, '..', '..', 'tls', config.database.tls.cert_file))
}
if (config.database.tls.key_file) {
sslConfig.key = fs.readFileSync(path.join(__dirname, '..', '..', 'tls', config.database.tls.key_file))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant