From 45ac564456575cc5f1d491e7f19b78f9da13bdc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Mon, 28 May 2018 12:58:35 +0200 Subject: [PATCH] v1.1 --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 4e32a71..39e217b 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 = [ "Mark", "Nicolas" ]; res.type('application/json') .send(JSON.stringify(response)) .end(); }); -*/ + app.use("/",router); app.use("*",function(req, res) {