diff options
Diffstat (limited to 'api/routes')
-rw-r--r-- | api/routes/default/index.js | 2 | ||||
-rw-r--r-- | api/routes/index.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/api/routes/default/index.js b/api/routes/default/index.js index e5db7f5..f3eb50e 100644 --- a/api/routes/default/index.js +++ b/api/routes/default/index.js @@ -9,7 +9,7 @@ module.exports = (req, res) => { {gathered_zchain_zlatest_pairs:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/seens"}, {node_local_chain:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/chain"}, {node_local_peers:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/peers"}, - {node_local_akid:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/akid"}, + {node_local_info:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/node_info"}, {node_local_zlatest:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/zlatest"}, {latest_known_mined_block:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/slatest"}, {show_mined_block:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/sblock"}, diff --git a/api/routes/index.js b/api/routes/index.js index 3755524..174ed66 100644 --- a/api/routes/index.js +++ b/api/routes/index.js @@ -40,8 +40,8 @@ router.route(settings.URL_PREFIX+'/sblock/:sblock').get(getSBlock); router.route(settings.URL_PREFIX+'/zchain').get(getZChain); // Returns latest zblock from node's local chain router.route(settings.URL_PREFIX+'/zlatest').get(getZLatest); -// Returns local node's akid -router.route(settings.URL_PREFIX+'/akid').get(getAkid); +// Returns local node's info +router.route(settings.URL_PREFIX+'/node_info').get(getAkid); // Returns local node's peers router.route(settings.URL_PREFIX+'/peers').get(getPeers); // Returns content |