From bf43b5830d68e2fc81c661744bd5bb5f1fcf4a47 Mon Sep 17 00:00:00 2001 From: Tianzhou Chen Date: Sun, 21 May 2023 17:29:16 +0800 Subject: [PATCH] chore: add missing comment --- src/lib/connectors/postgres/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/connectors/postgres/index.ts b/src/lib/connectors/postgres/index.ts index 013f61f..8095518 100644 --- a/src/lib/connectors/postgres/index.ts +++ b/src/lib/connectors/postgres/index.ts @@ -18,7 +18,7 @@ const newPostgresClient = async (connection: Connection) => { key: connection.ssl?.key, }; } 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 = { rejectUnauthorized: false, };