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,
controllers.suggest(undefined, undefined, require('./helper/queryMixer').suggest_nearby) );
app.get( '/suggest/coarse',
sanitisers.suggest.middleware,
sanitisers.coarse.middleware,
controllers.suggest(undefined, undefined, require('./helper/queryMixer').coarse) );
// search API

Loading…
Cancel
Save