Added search-endpoint for fetching by category

This commit is contained in:
Kasper Rynning-Tønnesen
2019-02-24 23:59:00 +01:00
parent c66d6efa76
commit 6c0c110b68
3 changed files with 89 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ app.use(bodyParser.urlencoded({ // to support URL-encoded bodies
extended: true
}));
app.use(cookieParser());
app.set('json spaces', 2);
//app.set('json spaces', 2);
io = require('socket.io')({
pingTimeout: 25000,