From d0e3847a9e7b79cf65a9dd33282d11a8ff85b8a4 Mon Sep 17 00:00:00 2001 From: Harish Krishna Date: Wed, 14 Jan 2015 18:26:32 -0500 Subject: [PATCH] a hack --- app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index 18bd5a31..5b2373fd 100644 --- a/app.js +++ b/app.js @@ -35,10 +35,10 @@ app.get( '/doc', sanitisers.doc.middleware, controllers.doc() ); // suggest API app.get( '/suggest', sanitisers.suggest.middleware, controllers.suggest() ); -app.get( '/suggest_old', sanitisers.suggest.middleware, controllers.suggest_old() ); -app.get( '/suggest/nearby', - sanitisers.suggest.middleware, - controllers.suggest(undefined, undefined, require('./helper/queryMixer').suggest_nearby) ); +app.get( '/suggest/nearby', sanitisers.suggest.middleware, controllers.suggest_old() ); +// app.get( '/suggest/nearby', +// sanitisers.suggest.middleware, +// controllers.suggest(undefined, undefined, require('./helper/queryMixer').suggest_nearby) ); // search API app.get( '/search', sanitisers.search.middleware, controllers.search() );