Browse Source

corrected config service

pull/875/head
Stephen Hess 8 years ago
parent
commit
f473503929
  1. 2
      routes/v1.js

2
routes/v1.js

@ -88,7 +88,7 @@ const PlaceHolder = require('../service/configurations/PlaceHolder');
function addRoutes(app, peliasConfig) {
const esclient = elasticsearch.Client(peliasConfig.esclient);
const pipConfiguration = new PointInPolygon(peliasConfig.api.services.placeholder);
const pipConfiguration = new PointInPolygon(peliasConfig.api.services.pip);
const pipService = serviceWrapper(pipConfiguration);
const isPipServiceEnabled = _.constant(pipConfiguration.isEnabled());

Loading…
Cancel
Save