Started editing and adding real content.
This commit is contained in:
parent
fc5fdbbfa0
commit
6f58d0cfe8
1 changed files with 8 additions and 10 deletions
18
server.js
18
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);
|
||||
|
|
Loading…
Reference in a new issue