Permalink
Browse files

Añado euros

  • Loading branch information...
1 parent a0119bf commit 49eb0463b16d7168fd15ee6ef4565a88834a42ed arpunk committed Jun 7, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 server.js
View
@@ -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);

0 comments on commit 49eb046

Please sign in to comment.