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:
parent
9e245d147b
commit
35380353d5
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ const pgConfigFromEnv = (env) => {
|
||||||
baseConfig.ssl = false;
|
baseConfig.ssl = false;
|
||||||
break;
|
break;
|
||||||
case 'no-verify':
|
case 'no-verify':
|
||||||
|
case 'require':
|
||||||
baseConfig.ssl = { rejectUnauthorized: false };
|
baseConfig.ssl = { rejectUnauthorized: false };
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue