From 3ee2145d078843bf1164576d09908a6faf77c324 Mon Sep 17 00:00:00 2001 From: rfhferreira <rfhferreira@inf.ufpr.br> Date: Wed, 11 Jun 2025 12:00:06 -0300 Subject: [PATCH] Change SSL to true by default --- src/db/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/index.ts b/src/db/index.ts index a949284..30b61c7 100644 --- a/src/db/index.ts +++ b/src/db/index.ts @@ -6,7 +6,7 @@ import env from '@/env' export const connection = postgres(env.DB_URL, { max: env.DB_MIGRATING || env.DB_SEEDING ? 1 : undefined, onnotice: env.DB_SEEDING ? () => {} : undefined, - ssl: env.NODE_ENV === 'production' ? true : false, + ssl: true, }) export const db = drizzle(connection, { -- GitLab