Updated link

This commit is contained in:
ポール ウェッブ 2018-08-24 12:07:37 -05:00
parent 60a44f471b
commit 0d6a3ea80b
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ title: Resources
## Showcase
- [Whitepaper](https://lbry-whitepaper.herokuapp.com)
- [Blockchain API](/api/blockchain)
- [Blockchain API](/api/protocol)
- [Daemon API](/api/daemon)
## Additional Resources

View file

@ -87,7 +87,7 @@ function createApiSidebar(apiDetails) {
function parseApiFile(urlSlug) {
let apiFileLink;
if (urlSlug === "blockchain") apiFileLink = process.env.NODE_ENV === "development" ?
if (urlSlug === "protocol") apiFileLink = process.env.NODE_ENV === "development" ?
"https://rawgit.com/lbryio/lbry/master/docs/api.json" :
"https://cdn.rawgit.com/lbryio/lbry/5b3103e4/docs/api.json"
;

View file

@ -82,7 +82,7 @@ module.exports = exports = () => async () => html`
<h3>Development</h3>
<p>Like a bit of documentation but would prefer to jump in and make your mark on the blockchain? Perhaps add cats to it?</p>
<a class="cta" href="/api/blockchain" title="Learn the LBRY API">Learn the LBRY API</a>
<a class="cta" href="/api/protocol" title="Learn the LBRY API">Learn the LBRY API</a>
</div>
</section>