This commit is contained in:
syuilo 2017-01-17 09:14:06 +09:00
parent 6096bbc893
commit ebdbb8b4be
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,