Fix bug
This commit is contained in:
parent
4a8007cf07
commit
6dbb4c208e
|
@ -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({
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue