From 7a41437121569a462a39bac2fce311c9cd03a916 Mon Sep 17 00:00:00 2001 From: Sergo Date: Sat, 12 Aug 2023 11:24:53 +0300 Subject: [PATCH] rm redis pass --- config/prod.js | 1 - src/app.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/config/prod.js b/config/prod.js index e609051..ed9203a 100644 --- a/config/prod.js +++ b/config/prod.js @@ -13,6 +13,5 @@ module.exports = { }, redis: { url: process.env.REDIS_URL, - password: process.env.REDIS_PASSWORD, }, }; diff --git a/src/app.ts b/src/app.ts index 5b0cca3..2971301 100644 --- a/src/app.ts +++ b/src/app.ts @@ -32,7 +32,6 @@ app.use(cookieParser()); if (getEnv() === Env.prod) { const redisClient = createClient({ url: config.get('redis.url'), - password: config.get('redis.password'), }); sessionStore = new RedisStore({