chore: add missing comment

This commit is contained in:
Tianzhou Chen
2023-05-21 17:29:16 +08:00
parent f2aefa8e95
commit bf43b5830d

View File

@ -18,7 +18,7 @@ const newPostgresClient = async (connection: Connection) => {
key: connection.ssl?.key, key: connection.ssl?.key,
}; };
} else { } else {
// Use rejectUnauthorized to infer sslmode=prefer since hosted PG venders have SSL enabled. // rejectUnauthorized=false to infer sslmode=prefer since hosted PG venders have SSL enabled.
clientConfig.ssl = { clientConfig.ssl = {
rejectUnauthorized: false, rejectUnauthorized: false,
}; };