From 165d1a461276ee5970b0743643e8849773d054bb Mon Sep 17 00:00:00 2001 From: Alexandru Serban Date: Tue, 2 Jul 2024 17:43:33 +0300 Subject: [PATCH] fix: remove reddis tls (#28) --- src/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index f7797a5..999b984 100644 --- a/src/index.ts +++ b/src/index.ts @@ -46,10 +46,7 @@ const prismaClient = new PrismaClient() const redisClient = new Redis({ host: REDIS_HOST ?? 'redis', port: REDIS_PORT ? parseInt(REDIS_PORT, 10) : 6379, - password: REDIS_PASSWORD, - tls: { - rejectUnauthorized: isProd ? true : false - } + password: REDIS_PASSWORD }) // Initialize connect-redis store for express-session