small tweak to env var logic
parent
96e3661fe2
commit
5f6d0671cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue