From f41c6c37e137699b5df09f4f716ac3a0b123d893 Mon Sep 17 00:00:00 2001 From: tangoyankee Date: Tue, 18 Jun 2024 17:52:22 -0400 Subject: [PATCH] reject unauthorized --- drizzle.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drizzle.config.ts b/drizzle.config.ts index 24867ca6..33b0808d 100644 --- a/drizzle.config.ts +++ b/drizzle.config.ts @@ -11,6 +11,8 @@ export default { user: process.env.DATABASE_USER, password: process.env.DATABASE_PASSWORD, database: process.env.DATABASE_NAME!, - ssl: process.env.DATABASE_ENV === "production", + ssl: { + rejectUnauthorized: false, + }, }, } satisfies Config;