Download api/cache/redis.js from Zhitomir/chat: direct link, hf CLI and curl.
- Browser
- Download file 143 Bytes
-
https://huggingface.co/spaces/Zhitomir/chat/resolve/main/api/cache/redis.js
- Command line
-
hf download hf://spaces/Zhitomir/chat/api/cache/redis.js
-
curl -L -o redis.js https://huggingface.co/spaces/Zhitomir/chat/resolve/main/api/cache/redis.js
143 Bytes
| const Redis = require('ioredis'); | |
| const { REDIS_URI } = process.env ?? {}; | |
| const redis = new Redis.Cluster(REDIS_URI); | |
| module.exports = redis; | |