Skip to content

Commit

Permalink
config(redis) : add redis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
KNU-K committed Nov 25, 2024
1 parent f3b9b0a commit 1cb5808
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config/redis.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const redisConfig = () => ({
host: process.env.REDIS_HOST,
port: parseInt(process.env.REDIS_PORT, 10),
});

0 comments on commit 1cb5808

Please sign in to comment.