From 0f24e1f5033123bdb2efd8a64d67ed347dcff9f4 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 5 Feb 2018 10:40:52 +0100 Subject: [PATCH 1/3] switch endpoints --- _src/_assets/javascripts/page-getstarted.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_src/_assets/javascripts/page-getstarted.js b/_src/_assets/javascripts/page-getstarted.js index a856139..3d83425 100644 --- a/_src/_assets/javascripts/page-getstarted.js +++ b/_src/_assets/javascripts/page-getstarted.js @@ -3,8 +3,8 @@ //=include bigchain/tab.js //=include bigchain/newsletter.js -const bigchaindbUrl = 'https://test.ipdb.io' -const proxyUrl = 'https://getstarted.ipdb.io:4443' +const bigchaindbUrl = 'https://test.bigchaindb.com' +const proxyUrl = 'https://getstarted.bigchaindb.com:4443' const apiPath = '/api/v1/' jQuery(function($) { From 14cfeddd80740f2531a025c1be304ed8dd34896e Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 5 Feb 2018 17:46:30 +0100 Subject: [PATCH 2/3] disable post button upon first click --- _src/_assets/javascripts/page-getstarted.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src/_assets/javascripts/page-getstarted.js b/_src/_assets/javascripts/page-getstarted.js index 3d83425..cc217bd 100644 --- a/_src/_assets/javascripts/page-getstarted.js +++ b/_src/_assets/javascripts/page-getstarted.js @@ -96,6 +96,7 @@ window.addEventListener('DOMContentLoaded', function domload(event) { e.preventDefault() const message = messageInput.value + postButton.classList.add('disabled') const alice = new driver.Ed25519Keypair() const tx = driver.Transaction.makeCreateTransaction( @@ -128,7 +129,6 @@ window.addEventListener('DOMContentLoaded', function domload(event) { transactionLink.href = bigchaindbUrl + apiPath + 'transactions/' + response.id - postButton.classList.add('disabled') postButton.style.opacity = 0 responseArea.children[0].classList.add('nyan') From b44b04a2d2dc6f4219cd2600528768a922f01ba8 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 6 Feb 2018 14:56:14 +0100 Subject: [PATCH 3/3] switch ports --- _src/_assets/javascripts/page-getstarted.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src/_assets/javascripts/page-getstarted.js b/_src/_assets/javascripts/page-getstarted.js index cc217bd..9c18b5c 100644 --- a/_src/_assets/javascripts/page-getstarted.js +++ b/_src/_assets/javascripts/page-getstarted.js @@ -4,7 +4,7 @@ //=include bigchain/newsletter.js const bigchaindbUrl = 'https://test.bigchaindb.com' -const proxyUrl = 'https://getstarted.bigchaindb.com:4443' +const proxyUrl = 'https://getstarted.bigchaindb.com' const apiPath = '/api/v1/' jQuery(function($) {