diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2020-01-20 01:51:18 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-01-20 01:51:18 +0900 |
| commit | 79cbf0888c16439674d01dfadb2b093d388eb7a5 (patch) | |
| tree | 681add4676c39deb1e1f49e312ec823b47cefc3b /src/server/api | |
| parent | Add mark-admin command (#5705) (diff) | |
| download | sharkey-79cbf0888c16439674d01dfadb2b093d388eb7a5.tar.gz sharkey-79cbf0888c16439674d01dfadb2b093d388eb7a5.tar.bz2 sharkey-79cbf0888c16439674d01dfadb2b093d388eb7a5.zip | |
Redis subscriberで認証ができないのを修正 Fix #5727 (#5730)
Diffstat (limited to 'src/server/api')
| -rw-r--r-- | src/server/api/streaming.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/server/api/streaming.ts b/src/server/api/streaming.ts index ee71f4604c..6c6037db25 100644 --- a/src/server/api/streaming.ts +++ b/src/server/api/streaming.ts @@ -24,7 +24,12 @@ module.exports = (server: http.Server) => { // Connect to Redis const subscriber = redis.createClient( - config.redis.port, config.redis.host); + config.redis.port, + config.redis.host, + { + password: config.redis.pass + } + ); subscriber.subscribe(config.host); |