diff --git a/db/index.ts b/db/index.ts index 974984d81e..1d1f0f8108 100644 --- a/db/index.ts +++ b/db/index.ts @@ -8,5 +8,8 @@ const connectionString = process.env.POSTGRES_URL || process.env.DATABASE_URL! // Disable prefetch as it is not supported for "Transaction" pool mode const client = postgres(connectionString, { prepare: false, + ssl: { + rejectUnauthorized: true, + }, }) export const db = drizzle(client)