Started editing and adding real content.

This commit is contained in:
José Carlos Cuevas 2013-06-01 23:47:47 +02:00
parent fc5fdbbfa0
commit 6f58d0cfe8

View file

@ -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);