mirror of https://github.com/pelias/api.git
Stephen Hess
8 years ago
2 changed files with 3 additions and 3 deletions
@ -1,5 +1,6 @@ |
|||||||
const config = require( 'pelias-config' ).generate().esclient; |
const config = require( 'pelias-config' ).generate().esclient; |
||||||
const Backend = require('geopipes-elasticsearch-backend'); |
|
||||||
const client = require('elasticsearch').Client(config); |
const client = require('elasticsearch').Client(config); |
||||||
|
|
||||||
module.exports = new Backend(client); |
module.exports = { |
||||||
|
client: client |
||||||
|
}; |
||||||
|
Loading…
Reference in new issue