From 6f58d0cfe8079cfc9b0f5e0e74341194a7ca0c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Cuevas?= Date: Sat, 1 Jun 2013 23:47:47 +0200 Subject: [PATCH] Started editing and adding real content. --- server.js | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/server.js b/server.js index a7912bf..5134fa4 100644 --- a/server.js +++ b/server.js @@ -71,17 +71,15 @@ app.get('/', function (req, res) { console.log(row.name); players.push(row.name); }); - console.log('Query finished'); - }); - console.log(players); - res.render('index', - { - title: 'My Game', - player_num: player_number, - stats_num: stats_number, - player_list: players - }); + res.render('index', + { + title: 'My Game', + player_num: player_number, + stats_num: stats_number, + player_list: players + }); + }); }); app.listen(3000);