Skip to content
Snippets Groups Projects
Commit 3ee2145d authored by Richard Fernando Heise Ferreira's avatar Richard Fernando Heise Ferreira
Browse files

Change SSL to true by default

parent 09aac81e
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ import env from '@/env' ...@@ -6,7 +6,7 @@ import env from '@/env'
export const connection = postgres(env.DB_URL, { export const connection = postgres(env.DB_URL, {
max: env.DB_MIGRATING || env.DB_SEEDING ? 1 : undefined, max: env.DB_MIGRATING || env.DB_SEEDING ? 1 : undefined,
onnotice: env.DB_SEEDING ? () => {} : undefined, onnotice: env.DB_SEEDING ? () => {} : undefined,
ssl: env.NODE_ENV === 'production' ? true : false, ssl: true,
}) })
export const db = drizzle(connection, { export const db = drizzle(connection, {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment