Skip to content

Commit

Permalink
fix: remove reddis tls (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsserban authored Jul 2, 2024
1 parent 16afc4d commit 165d1a4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 165d1a4

Please sign in to comment.