Started editing and adding real content.
This commit is contained in:
parent
da5eb5c923
commit
8f75ed3ad4
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ app.get('/', function (req, res) {
|
|||
database.each("SELECT * FROM players", function(err, row) {
|
||||
console.log('Received a player row! Weheeeee!');
|
||||
console.log(row.name);
|
||||
players.push(row.name);
|
||||
var nextElement = players.length;
|
||||
players[nextElement] = row.name;
|
||||
});
|
||||
|
||||
console.log(players);
|
||||
|
|
Loading…
Reference in a new issue