fix(db): remove ssl verification

This commit is contained in:
Waleed Latif
2025-02-17 16:13:59 -08:00
parent 50d03c6896
commit 9f3c49866f
-3
View File
@@ -8,8 +8,5 @@ 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)