Browse Source

Merge pull request #109 from pelias/fix-coarse

[Major bug fix] using coarse sanitizer for the coarse endpoint
pull/102/merge
Harish Krishna 10 years ago
parent
commit
c2f7410916
  1. 2
      app.js

2
app.js

@ -38,7 +38,7 @@ app.get( '/suggest/nearby',
sanitisers.suggest.middleware, sanitisers.suggest.middleware,
controllers.suggest(undefined, undefined, require('./helper/queryMixer').suggest_nearby) ); controllers.suggest(undefined, undefined, require('./helper/queryMixer').suggest_nearby) );
app.get( '/suggest/coarse', app.get( '/suggest/coarse',
sanitisers.suggest.middleware, sanitisers.coarse.middleware,
controllers.suggest(undefined, undefined, require('./helper/queryMixer').coarse) ); controllers.suggest(undefined, undefined, require('./helper/queryMixer').coarse) );
// search API // search API

Loading…
Cancel
Save