Skip to content

Commit

Permalink
🐛fix: redis module password 부분 주석처리 (#180)
Browse files Browse the repository at this point in the history
pminsung12 authored Dec 4, 2023
1 parent d047b41 commit 55ade94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/redis/redis.module.ts
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ export class RedisModule {
const client = createClient({
url: process.env.REDIS_URL, // Redis 서버의 URL
// username: process.env.REDIS_USERNAME, // Redis 사용자 이름
password: process.env.REDIS_PASSWORD, // Redis 비밀번호
// password: process.env.REDIS_PASSWORD, // Redis 비밀번호
}) as RedisClientType;
await client.connect(); // 클라이언트 연결
return client; // 연결된 클라이언트 반환
@@ -36,7 +36,7 @@ export class RedisModule {
const client = createClient({
url: process.env.REDIS_URL,
// username: process.env.REDIS_USERNAME,
password: process.env.REDIS_PASSWORD,
// password: process.env.REDIS_PASSWORD,
}) as RedisClientType;
await client.connect();
return client;
@@ -52,7 +52,7 @@ export class RedisModule {
const client = createClient({
url: process.env.REDIS_URL,
// username: process.env.REDIS_USERNAME,
password: process.env.REDIS_PASSWORD,
// password: process.env.REDIS_PASSWORD,
}) as RedisClientType;
await client.connect();
return client;

0 comments on commit 55ade94

Please sign in to comment.