aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-09-05 19:55:53 +0200
committerNoah Loomans <noahloomans@gmail.com>2016-09-05 19:55:53 +0200
commit0acf4e0774e0daeed2c386e4d9c0ac36da70a244 (patch)
tree839f0db637e379d433f1a82eb23ade74f0569522 /app.js
parent0bf0cddc5c6c8bce34a9df1e376759eb5773d16b (diff)
you can now search by name
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
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) {