From 336838c95aa60366367661fdbc5660c9174406a1 Mon Sep 17 00:00:00 2001 From: Joshua Seigler Date: Fri, 9 Sep 2016 20:06:56 -0400 Subject: [PATCH] fix: switch to blockchain.masternode.io --- app.js | 6 +++--- index.html | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app.js b/app.js index 37f1150..7f03dfc 100644 --- a/app.js +++ b/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)); diff --git a/index.html b/index.html index c46a0d8..d18be56 100644 --- a/index.html +++ b/index.html @@ -4,15 +4,13 @@ Dash transaction visualizer -
-
-
+
- +