fixed redisClient

<
This commit is contained in:
Nabil Ould Hamou 2024-12-18 11:58:53 +01:00 committed by GitHub
parent 9e064c220c
commit 54aa98c088
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
import { createClient } from 'redis';
const client = await createClient({
url: process.env.REDIS_URL || 'redis://redis-server:6379'
url: process.env.REDIS_URL || 'redis://localhost:6379'
});