// apps/backend/src/redis.ts
import Redis from 'ioredis';

const redis = new Redis({
    host: 'localhost', // 根据实际情况配置
    port: 6379,
    password: process.env.REDIS_PASSWORD
});

export default redis;