Skip to content

Commit

Permalink
Fixed Code scanning alerts #6
Browse files Browse the repository at this point in the history
  • Loading branch information
KovacevicAleksa committed Nov 11, 2024
1 parent 7c8fe04 commit 9e816cc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions backend/config/redis.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ const __dirname = dirname(__filename);
// Configure dotenv to load .env file from the correct location
dotenv.config({ path: resolve(__dirname, '/.env') });

// Validate Redis credentials
// Added validation check to ensure Redis password is provided

console.log(process.env.REDIS_PASSWORD);

// Initialize a new Redis instance with custom configuration
const redis = new Redis({
host: 'redis-cache', // Specify the host where Redis is running
Expand Down

0 comments on commit 9e816cc

Please sign in to comment.