From 6dbb4c208ebf9962715e7c2b65ae275c73954220 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 5257ce0171..75054a31c2 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 ba4d647811..2e0867de61 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,