From 4fe630ec54270ab286215ba2930727c8c1f6c5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Tue, 12 Jun 2018 14:40:10 +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) {