From ebdbb8b4bec29369ee20da643d72aca4e857b69a Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 17 Jan 2017 09:14:06 +0900 Subject: [PATCH] Fix bug --- src/db/elasticsearch.ts | 1 + src/db/redis.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/db/elasticsearch.ts b/src/db/elasticsearch.ts index 5257ce017..75054a31c 100644 --- a/src/db/elasticsearch.ts +++ b/src/db/elasticsearch.ts @@ -1,4 +1,5 @@ import * as elasticsearch from 'elasticsearch'; +import config from '../conf'; // Init ElasticSearch connection const client = new elasticsearch.Client({ diff --git a/src/db/redis.ts b/src/db/redis.ts index ba4d64781..2e0867de6 100644 --- a/src/db/redis.ts +++ b/src/db/redis.ts @@ -1,4 +1,5 @@ import * as redis from 'redis'; +import config from '../conf'; export default redis.createClient( config.redis.port,