From c32b30c49a1b61d202b396b56bed3236e0280ba9 Mon Sep 17 00:00:00 2001 From: Carter Mayeux <159168644+cmayeux05@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:18:51 -0500 Subject: [PATCH] THIS TIME FOR SURE --- server/config/database.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/config/database.js b/server/config/database.js index 4f189daa..72196996 100644 --- a/server/config/database.js +++ b/server/config/database.js @@ -29,9 +29,7 @@ module.exports = ({ env }) => ({ username: env('DATABASE_USERNAME', 'postgres'), password: env('DATABASE_PASSWORD', 'postgres'), schema: 'public', - ssl: env('NODE_ENV') == 'production' - ? { rejectUnauthorized: false } - : false + ssl: { rejectUnauthorized: false} }, options: { 'pool': {