From 35380353d5c37774e45128d4d7f1677395bf5311 Mon Sep 17 00:00:00 2001 From: zeeZ Date: Sat, 17 Jun 2023 11:30:26 +0200 Subject: [PATCH] Add support for PG_SSLMODE=require in streaming API --- streaming/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/streaming/index.js b/streaming/index.js index aabd2f8559f..6ef129d63b3 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -119,6 +119,7 @@ const pgConfigFromEnv = (env) => { baseConfig.ssl = false; break; case 'no-verify': + case 'require': baseConfig.ssl = { rejectUnauthorized: false }; break; default: