Skip to content

Commit

Permalink
Añado euros
Browse files Browse the repository at this point in the history
  • Loading branch information
arpunk committed Jun 7, 2011
1 parent a0119bf commit 49eb046
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server.js
Expand Up @@ -38,10 +38,12 @@ app.get('/', function(req, res){
jsonreq.get('http://bitcoincharts.com/t/weighted_prices.json', function(err, data) {
res.render('index', {
title:'Precio del Bitcoin en Facebook',
locals:{dolares:data.USD['24h']}
locals: {
dolares: data.USD['24h']
, euros: data.EUR['24h']
}
});
});

});

app.listen(3000);
Expand Down

0 comments on commit 49eb046

Please sign in to comment.