small tweak to env var logic

master
j 2024-03-23 01:01:45 -04:00
parent 96e3661fe2
commit 5f6d0671cf
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class SessionManager {
datastore: "ioredis",
clearDatastore: false,
clientOptions: {
host: process.env.REDIS_HOST,
host: process.env.REDIS_HOST!,
port: Number(process.env.REDIS_PORT),
password: process.env.REDIS_PASSWORD || undefined, // Use undefined if no password is set
enableOfflineQueue: true