From 4ba860dc788b87945f90ade58cffd1a4d53c4ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Mon, 7 May 2018 13:29:27 -0700 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) {