|
|
|
@ -37,6 +37,7 @@ var postProc = {
|
|
|
|
|
trimByGranularity: require('../middleware/trimByGranularity'), |
|
|
|
|
distances: require('../middleware/distance'), |
|
|
|
|
confidenceScores: require('../middleware/confidenceScore'), |
|
|
|
|
confidenceScoresFallback: require('../middleware/confidenceScoreFallback'), |
|
|
|
|
confidenceScoresReverse: require('../middleware/confidenceScoreReverse'), |
|
|
|
|
dedupe: require('../middleware/dedupe'), |
|
|
|
|
localNamingConventions: require('../middleware/localNamingConventions'), |
|
|
|
@ -78,6 +79,7 @@ function addRoutes(app, peliasConfig) {
|
|
|
|
|
postProc.trimByGranularity(), |
|
|
|
|
postProc.distances('focus.point.'), |
|
|
|
|
postProc.confidenceScores(peliasConfig), |
|
|
|
|
postProc.confidenceScoresFallback(), |
|
|
|
|
postProc.dedupe(), |
|
|
|
|
postProc.localNamingConventions(), |
|
|
|
|
postProc.renamePlacenames(), |
|
|
|
|