Browse Source

using coarse sanitizer for the coarse endpoint

pull/109/head
Harish Krishna 10 years ago
parent
commit
904cb696a0
  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