Initial commit 🍀
This commit is contained in:
9
src/db/redis.ts
Normal file
9
src/db/redis.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as redis from 'redis';
|
||||
|
||||
export default redis.createClient(
|
||||
config.redis.port,
|
||||
config.redis.host,
|
||||
{
|
||||
auth_pass: config.redis.pass
|
||||
}
|
||||
);
|
Reference in New Issue
Block a user