mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 03:47:40 -07:00
parent
d6d7c15bac
commit
e9e79c688f
1 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,12 @@ module.exports = (server: http.Server) => {
|
||||||
|
|
||||||
// Connect to Redis
|
// Connect to Redis
|
||||||
const subscriber = redis.createClient(
|
const subscriber = redis.createClient(
|
||||||
config.redis.port, config.redis.host);
|
config.redis.port,
|
||||||
|
config.redis.host,
|
||||||
|
{
|
||||||
|
password: config.redis.pass
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
subscriber.subscribe(config.host);
|
subscriber.subscribe(config.host);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue