Skip to content

Commit

Permalink
allow for password
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton committed Feb 25, 2023
1 parent fb5b9ce commit b031c4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ export const getRedisConnection = () => ({
host: process.env.REDIS_HOST!,
port: Number.parseInt(process.env.REDIS_PORT!),
db: process.env.REDIS_DB ? Number.parseInt(process.env.REDIS_DB!) : 0,
password: process.env.REDIS_PASSWORD,
});

0 comments on commit b031c4b

Please sign in to comment.