From 0acf4e0774e0daeed2c386e4d9c0ac36da70a244 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Mon, 5 Sep 2016 19:55:53 +0200 Subject: you can now search by name --- app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app.js') diff --git a/app.js b/app.js index 1a9bd3a..a0d0071 100644 --- a/app.js +++ b/app.js @@ -6,6 +6,7 @@ const bodyParser = require('body-parser') const routes = require('./routes/index') const meetingpointProxy = require('./routes/meetingpointProxy') +const getUserIndex = require('./routes/getUserIndex') const app = express() @@ -21,6 +22,7 @@ app.use(express.static(path.join(__dirname, 'public'))) app.use('/', routes) app.use('/meetingpointProxy', meetingpointProxy) +app.use('/getUserIndex', getUserIndex) // catch 404 and forward to error handler app.use(function (req, res, next) { -- cgit v1.1