diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-13 19:19:32 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-13 19:19:32 +0900 |
| commit | e369031a28a7aae390d17d4d9f075c6f0df7fe55 (patch) | |
| tree | 4e0410685973c47b9c311f8a3ebf212310c9b701 /src/db | |
| parent | Fix bug (diff) | |
| download | sharkey-e369031a28a7aae390d17d4d9f075c6f0df7fe55.tar.gz sharkey-e369031a28a7aae390d17d4d9f075c6f0df7fe55.tar.bz2 sharkey-e369031a28a7aae390d17d4d9f075c6f0df7fe55.zip | |
Redis必須に
Diffstat (limited to 'src/db')
| -rw-r--r-- | src/db/redis.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/redis.ts b/src/db/redis.ts index cebf2a10af..6518cb0059 100644 --- a/src/db/redis.ts +++ b/src/db/redis.ts @@ -1,7 +1,7 @@ import * as redis from 'redis'; import config from '../config'; -export default config.redis ? redis.createClient( +export default redis.createClient( config.redis.port, config.redis.host, { @@ -9,4 +9,4 @@ export default config.redis ? redis.createClient( prefix: config.redis.prefix, db: config.redis.db || 0 } -) : null; +); |