From f38987d7b9e7d03aa0c9b79f808f24e27482d2bf Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Wed, 19 Apr 2017 12:20:01 -0400 Subject: [PATCH] removed hardcoded URL in favor of config URL --- routes/v1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/v1.js b/routes/v1.js index 4aa92407..a0d1577f 100644 --- a/routes/v1.js +++ b/routes/v1.js @@ -85,7 +85,7 @@ function addRoutes(app, peliasConfig) { const isPlaceholderServiceEnabled = require('../controller/predicates/is_service_enabled')(peliasConfig.api.placeholderService); const pipService = require('../service/pointinpolygon')(peliasConfig.api.pipService); - const placeholderService = require('../service/placeholder')('http://localhost:3000/parser'); + const placeholderService = require('../service/placeholder')(peliasConfig.api.placeholderService); const coarse_reverse_should_execute = all( not(hasRequestErrors), isPipServiceEnabled, isCoarseReverse