From d4286c0594276095360b77e81f9c3fcc4bdf85dc Mon Sep 17 00:00:00 2001 From: Naveen Kumar Date: Tue, 22 Apr 2025 01:22:08 +0530 Subject: [PATCH] Add SSL configuration to database connection pool --- server/db.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/db.js b/server/db.js index dffe67c..6dd4e63 100644 --- a/server/db.js +++ b/server/db.js @@ -16,7 +16,8 @@ const pool = mysql.createPool({ waitForConnections: true, connectionLimit: 20, queueLimit: 0, - timezone: '+05:30' // Updated to Indian Standard Time (IST) + timezone: '+05:30', // Updated to Indian Standard Time (IST) + ssl: { rejectUnauthorized: false } }); module.exports = {