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,