Skip to content

Commit

Permalink
We should be using REDIS_URI not REDIS_HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Oct 24, 2024
1 parent d65e2ad commit 33f9ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function getSessionStore(): SessionStore {

if (store) return store;

if (process.env.REDIS_HOST) {
if (process.env.REDIS_URI) {
store = new RedisStore({
prefix: 'A12N-session',
clientOptions: {
Expand Down

0 comments on commit 33f9ef3

Please sign in to comment.