SQL Query Generator Function Update

This commit is contained in:
Benjamin Toby
2024-11-08 21:44:24 +01:00
parent 9142f3b3e0
commit 7da2e04cca
4 changed files with 20 additions and 14 deletions
+3 -3
View File
@@ -8,9 +8,9 @@ const fs = require("fs");
module.exports = function grabDbSSL() {
const SSL_DIR = process.env.DSQL_SSL_DIR;
if (!SSL_DIR?.match(/./)) {
console.log(
"No SSL certificate provided. Query will run in normal mode. To add SSL add an env path dir `DSQL_SSL_DIR` with a file named `ca-cert.pem`"
);
// console.log(
// "No SSL certificate provided. Query will run in normal mode. To add SSL add an env path dir `DSQL_SSL_DIR` with a file named `ca-cert.pem`"
// );
return undefined;
}