1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 09:46:57 +01:00

Merge pull request #205 from ascribe/feature/ipdbshutdown

get started: switch endpoints
This commit is contained in:
Matthias Kretschmann 2018-02-06 16:19:01 +01:00 committed by GitHub
commit 7a4ee8c59a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
const apiPath = '/api/v1/'
jQuery(function($) {
@ -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')