|
|
@ -344,7 +344,7 @@ function addRoutes(app, peliasConfig) { |
|
|
|
reverse: createRouter([ |
|
|
|
reverse: createRouter([ |
|
|
|
sanitizers.reverse.middleware, |
|
|
|
sanitizers.reverse.middleware, |
|
|
|
middleware.requestLanguage, |
|
|
|
middleware.requestLanguage, |
|
|
|
middleware.calcSize(), |
|
|
|
middleware.calcSize(2), |
|
|
|
controllers.search(peliasConfig.api, esclient, queries.reverse, nonCoarseReverseShouldExecute), |
|
|
|
controllers.search(peliasConfig.api, esclient, queries.reverse, nonCoarseReverseShouldExecute), |
|
|
|
controllers.coarse_reverse(pipService, coarseReverseShouldExecute), |
|
|
|
controllers.coarse_reverse(pipService, coarseReverseShouldExecute), |
|
|
|
postProc.distances('point.'), |
|
|
|
postProc.distances('point.'), |
|
|
|