File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ exports.index = function(req, res) {
43
43
if ( bitstampRate === 0 || currentTime >= ( timestamp + delay ) ) {
44
44
timestamp = currentTime ;
45
45
46
- _request ( 'https://www.bitstamp.net /api/ticker/' , function ( err , data ) {
47
- if ( ! err ) bitstampRate = parseFloat ( JSON . parse ( data ) . last ) ;
46
+ _request ( 'https://www.cryptonator.com /api/ticker/aur-usd ' , function ( err , data ) {
47
+ if ( ! err ) bitstampRate = parseFloat ( JSON . parse ( data ) [ 'ticker' ] [ 'price' ] ) ;
48
48
49
49
res . jsonp ( {
50
50
status : 200 ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var home = process.env.INSIGHT_DB || (getUserHome() + '/.insight');
24
24
if ( process . env . INSIGHT_NETWORK === 'livenet' ) {
25
25
env = 'livenet' ;
26
26
db = home ;
27
- port = '3001 ' ;
27
+ port = '3000 ' ;
28
28
b_port = '12341' ;
29
29
p2p_port = '12340' ;
30
30
} else {
You can’t perform that action at this time.
0 commit comments