diff --git a/historicaldb-api-tool.html b/historicaldb-api-tool.html index 09832ebe58..403bf23323 100644 --- a/historicaldb-api-tool.html +++ b/historicaldb-api-tool.html @@ -101,7 +101,7 @@

Invalid JSON
-

https://api.ripple.com

+

https://history.ripple.com

diff --git a/tool/pages.json b/tool/pages.json index 0fa932ec03..6f8d36144f 100644 --- a/tool/pages.json +++ b/tool/pages.json @@ -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" }, { diff --git a/tool/template-rest-api-tool.html b/tool/template-rest-api-tool.html index 34c52added..c32fde19cf 100644 --- a/tool/template-rest-api-tool.html +++ b/tool/template-rest-api-tool.html @@ -19,7 +19,7 @@

Invalid JSON
-

https://api.ripple.com

+

{{ currentpage.rest_host }}