From e4ed523dfcc9531cfaee321b6db46e4fc6f33c1f Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Tue, 2 Oct 2018 11:12:51 +0200 Subject: [PATCH] v1.1 --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 94b21a2..25caad4 100644 --- a/server.js +++ b/server.js @@ -21,14 +21,14 @@ router.get("/timeframe",function(req, res) { .send(JSON.stringify(response)) .end(); }); -/* + router.get("/participants",function(req, res) { var response = [ "Manfred", "Nicolas" ]; res.type('application/json') .send(JSON.stringify(response)) .end(); }); -*/ + app.use("/",router); app.use("*",function(req, res) {