fix: disable SSL for local PostgreSQL connection
The votc-db container doesn't support SSL connections, causing "The server does not support SSL connections" errors on the waitlist signup endpoint in production. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
70349c2443
commit
195b3ad00a
|
|
@ -7,7 +7,7 @@ const nodemailer = require('nodemailer');
|
|||
// Initialize PostgreSQL connection pool
|
||||
const pool = new Pool({
|
||||
connectionString: process.env.DATABASE_URL,
|
||||
ssl: process.env.NODE_ENV === 'production' ? { rejectUnauthorized: false } : false
|
||||
ssl: false
|
||||
});
|
||||
|
||||
// Initialize SMTP transport (Mailcow)
|
||||
|
|
|
|||
Loading…
Reference in New Issue