[FIX] issue #122 - wrong host for historical-db api tool

This commit is contained in:
mDuo13
2015-03-23 15:22:22 -07:00
parent a424612068
commit 919c03a992
3 changed files with 4 additions and 2 deletions

View File

@@ -101,7 +101,7 @@
<p id='description'></p>
<div id='invalid'>Invalid JSON</div>
<div id='rest_url_wrapper'>
<p><span id='rest_host'>https://api.ripple.com</span><span id='rest_url'></span></p>
<p><span id='rest_host'>https://history.ripple.com</span><span id='rest_url'></span></p>
</div>
<div id='request_body'></div>
<div id='request_options'>

View File

@@ -54,6 +54,7 @@
"template":"template-rest-api-tool.html",
"methods_js": "js/apitool-methods-ripplerest.js",
"is_apitool": true,
"rest_host": "https://api.ripple.com",
"html": "rest-api-tool.html"
},
{
@@ -61,6 +62,7 @@
"template":"template-rest-api-tool.html",
"methods_js": "js/apitool-methods-historical.js",
"is_apitool": true,
"rest_host": "https://history.ripple.com",
"html": "historicaldb-api-tool.html"
},
{

View File

@@ -19,7 +19,7 @@
<p id='description'></p>
<div id='invalid'>Invalid JSON</div>
<div id='rest_url_wrapper'>
<p><span id='rest_host'>https://api.ripple.com</span><span id='rest_url'></span></p>
<p><span id='rest_host'>{{ currentpage.rest_host }}</span><span id='rest_url'></span></p>
</div>
<div id='request_body'></div>
<div id='request_options'>