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

Remove testnet-specific subdomain & headers

This commit is contained in:
Troy McConaghy 2018-09-13 15:17:39 +02:00
parent 15e50ba96e
commit 4fbac054b1
3 changed files with 9 additions and 9 deletions

View File

@ -9,9 +9,9 @@ require('dotenv').config()
// ======== Preparation ======== // // ======== Preparation ======== //
const conn = new driver.Connection('https://test.bigchaindb.com/api/v1/', { const conn = new driver.Connection('https://example.com/api/v1/', {
app_id: process.env.BIGCHAINDB_APP_ID, header1: header1_value,
app_key: process.env.BIGCHAINDB_APP_KEY header2: header2_value
}) })
const alice = new driver.Ed25519Keypair() const alice = new driver.Ed25519Keypair()

View File

@ -9,9 +9,9 @@ require('dotenv').config()
// ======== Preparation ======== // // ======== Preparation ======== //
const conn = new driver.Connection('https://test.bigchaindb.com/api/v1/', { const conn = new driver.Connection('https://example.com/api/v1/', {
app_id: process.env.BIGCHAINDB_APP_ID, header1: header1_value,
app_key: process.env.BIGCHAINDB_APP_KEY header2: header2_value
}) })
const alice = new driver.Ed25519Keypair() const alice = new driver.Ed25519Keypair()

View File

@ -9,9 +9,9 @@ require('dotenv').config()
// ======== Preparation ======== // // ======== Preparation ======== //
const conn = new driver.Connection('https://test.bigchaindb.com/api/v1/', { const conn = new driver.Connection('https://example.com/api/v1/', {
app_id: process.env.BIGCHAINDB_APP_ID, header1: header1_value,
app_key: process.env.BIGCHAINDB_APP_KEY header2: header2_value
}) })
const alice = new driver.Ed25519Keypair() const alice = new driver.Ed25519Keypair()