From 82255af112f1ce3aa685a48c5e86bd83685ce8e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Cuevas?= Date: Sat, 1 Jun 2013 23:56:44 +0200 Subject: [PATCH] Started editing and adding real content. --- server.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server.js b/server.js index c643966..9512e67 100644 --- a/server.js +++ b/server.js @@ -68,13 +68,11 @@ app.get('/', function (req, res) { database.each("SELECT * FROM players", function(err, row) { console.log('Received a player row! Weheeeee!'); - console.log(row.name); var nextElement = players.length; players[nextElement] = row.name; + console.log(players); }); - console.log(players); - res.render('index', { title: 'My Game',