From 195b3ad00a312540934b2039b1d0fd2b6933da7a Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 17 Feb 2026 16:12:36 -0700 Subject: [PATCH] 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 --- api/waitlist-db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/waitlist-db.js b/api/waitlist-db.js index fea033a..c1bdfeb 100644 --- a/api/waitlist-db.js +++ b/api/waitlist-db.js @@ -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)