Skip to content

Commit

Permalink
Fix on redis connect
Browse files Browse the repository at this point in the history
  • Loading branch information
zdllucky committed Jun 30, 2023
1 parent 0b05a85 commit e8b88e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/configuration/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const sessionMaxAge = 60 * 60 * 24 * 30;
export const redis = new Redis({
host: process.env.REDIS_HOST || "localhost",
port: 6379,
lazyConnect: true,
});

const session: Config["session"] = storedSessions<Session>({
Expand Down

0 comments on commit e8b88e3

Please sign in to comment.