mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
fix(consumer-prices): allow self-signed SSL cert for Railway Postgres (#1938)
This commit is contained in:
@@ -14,7 +14,7 @@ export function getPool(): pg.Pool {
|
||||
max: 10,
|
||||
idleTimeoutMillis: 30_000,
|
||||
connectionTimeoutMillis: 5_000,
|
||||
ssl: databaseUrl.includes('localhost') ? false : true,
|
||||
ssl: databaseUrl.includes('localhost') ? false : { rejectUnauthorized: false },
|
||||
});
|
||||
|
||||
_pool.on('error', (err) => {
|
||||
|
||||
Reference in New Issue
Block a user