1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Add support for PG_SSLMODE=require in streaming API

This commit is contained in:
zeeZ 2023-06-17 11:30:26 +02:00
parent 9e245d147b
commit 35380353d5

View file

@ -119,6 +119,7 @@ const pgConfigFromEnv = (env) => {
baseConfig.ssl = false;
break;
case 'no-verify':
case 'require':
baseConfig.ssl = { rejectUnauthorized: false };
break;
default: