Commit 5f558799 authored by inertia's avatar inertia

#4 restructured get_posts JS tutorial

parent fdbe1bb4
This diff is collapsed.
This diff is collapsed.
......@@ -13,7 +13,7 @@
"license": "ISC",
"dependencies": {
"bootstrap": "^4.1.3",
"dsteem": "^0.10.1",
"@hivechain/dhive": "^0.13.4",
"koa": "^2.5.3",
"koa-static": "^5.0.0"
},
......
const dsteem = require('dsteem');
const dhive = require('@hivechain/dhive');
let opts = {};
......@@ -8,7 +8,7 @@ opts.chainId =
'0000000000000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
const client = new dsteem.Client('https://api.steemit.com');
const client = new dhive.Client('https://api.openhive.network');
//filter change selection function
window.getPosts = async () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment