mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2025-12-15 10:34:43 -05:00
chore: Set database connection SSL configuration to false.
This commit is contained in:
@@ -16,10 +16,7 @@ export const pool =
|
|||||||
globalForDb.pool ??
|
globalForDb.pool ??
|
||||||
new Pool({
|
new Pool({
|
||||||
connectionString: env.DATABASE_URL,
|
connectionString: env.DATABASE_URL,
|
||||||
ssl:
|
ssl: false,
|
||||||
env.NODE_ENV === "production" && !env.DB_DISABLE_SSL
|
|
||||||
? { rejectUnauthorized: false }
|
|
||||||
: false,
|
|
||||||
max: 20,
|
max: 20,
|
||||||
idleTimeoutMillis: 30000,
|
idleTimeoutMillis: 30000,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user