1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-21 17:26:55 +01:00

In .md file replace https://test.bigchaindb.com w/ {{ site.bigchaindb_api_url }}

This commit is contained in:
Troy McConaghy 2018-10-10 13:57:50 +02:00
parent 4a13c1ada5
commit 35c6f2b3ef

View File

@ -26,17 +26,17 @@ Then, include that as a module and connect to any BigchainDB node.
```js
const BigchainDB = require('bigchaindb-driver')
const API_PATH = 'https://test.bigchaindb.com/api/v1/'
const API_PATH = '{{ site.bigchaindb_api_url }}/api/v1/'
const conn = new BigchainDB.Connection(API_PATH)
```
```python
from bigchaindb_driver import BigchainDB
conn = BigchainDB('https://test.bigchaindb.com')
conn = BigchainDB('{{ site.bigchaindb_api_url }}')
```
```java
BigchainDbConfigBuilder
.baseUrl("https://test.bigchaindb.com/").setup();
.baseUrl("{{ site.bigchaindb_api_url }}/").setup();
```