diff options
author | Noah Loomans <noahloomans@gmail.com> | 2016-09-05 19:55:53 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2016-09-05 19:55:53 +0200 |
commit | 0acf4e0774e0daeed2c386e4d9c0ac36da70a244 (patch) | |
tree | 839f0db637e379d433f1a82eb23ade74f0569522 /app.js | |
parent | 0bf0cddc5c6c8bce34a9df1e376759eb5773d16b (diff) |
you can now search by name
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |