mirror of
https://github.com/seigler/dash-visualizer
synced 2025-07-27 01:36:10 +00:00
fix: switch to blockchain.masternode.io
This commit is contained in:
parent
77d3805880
commit
336838c95a
2 changed files with 5 additions and 7 deletions
6
app.js
6
app.js
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
var socket = io("http://insight.masternode.io:3000/");
|
||||
var socket = io("https://blockchain.masternode.io/");
|
||||
|
||||
function playSound(url){
|
||||
var audio = document.createElement('audio');
|
||||
|
@ -25,7 +25,7 @@ var onTransaction = function(data) {
|
|||
tx.className = 'tx';
|
||||
var txValue = document.createElement('a');
|
||||
txValue.className = 'txValue';
|
||||
txValue.href = 'http://insight.masternode.io:3000/tx/' + data.txid;
|
||||
txValue.href = 'https://blockchain.masternode.io/tx/' + data.txid;
|
||||
txValue.target = '_blank';
|
||||
txValue.setAttribute('rel', 'noopener');
|
||||
var txOutputs = document.createElement('div');
|
||||
|
@ -53,7 +53,7 @@ var onBlock = function(data) {
|
|||
playSound('assets/whoosh.mp3');
|
||||
var newBlock = document.createElement('a');
|
||||
newBlock.className = 'blockDivider';
|
||||
newBlock.href = 'http://insight.masternode.io:3000/block/' + data;
|
||||
newBlock.href = 'https://blockchain.masternode.io/block/' + data;
|
||||
newBlock.target = '_blank';
|
||||
newBlock.setAttribute('rel', 'noopener');
|
||||
newBlock.appendChild(document.createTextNode(data));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue