This commit is contained in:
syuilo 2017-01-17 09:14:06 +09:00
parent 4a8007cf07
commit 6dbb4c208e
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import * as elasticsearch from 'elasticsearch'; import * as elasticsearch from 'elasticsearch';
import config from '../conf';
// Init ElasticSearch connection // Init ElasticSearch connection
const client = new elasticsearch.Client({ const client = new elasticsearch.Client({

View File

@ -1,4 +1,5 @@
import * as redis from 'redis'; import * as redis from 'redis';
import config from '../conf';
export default redis.createClient( export default redis.createClient(
config.redis.port, config.redis.port,