diff --git a/app/client.js b/app/client.js index 1bd34f5..566f813 100755 --- a/app/client.js +++ b/app/client.js @@ -37,6 +37,7 @@ function main() { app.use(ssr()); app.route("/", page(require("./views/home"))); + app.route("/api", page(require("./views/api"))); app.route("/api/*", page(require("./views/api"))); app.route("/*", page(require("./views/redirect"))); diff --git a/app/components/api/header-blockchain.js b/app/components/api/header-blockchain.js deleted file mode 100644 index 301b016..0000000 --- a/app/components/api/header-blockchain.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -import html from "choo/html"; - -export default () => { - return html` -
-

lbrycrd APIs

-

- Methods and signatures provided by the lbrycrd blockchain daemon are documented below. - To build, download, or run lbrycrd, see the project README. -

-
- `; -}; diff --git a/app/components/api/header-sdk.js b/app/components/api/header-sdk.js deleted file mode 100644 index 694a66e..0000000 --- a/app/components/api/header-sdk.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -import html from "choo/html"; - -export default () => { - return html` -
-

lbry-sdk APIs

-

- Methods and signatures provided by the lbry-sdk daemon are documented below. - To build, download, or run the daemon, see the project README. -

-
- `; -}; diff --git a/app/dist/scripts/api.js b/app/components/client/api-scripts.js similarity index 100% rename from app/dist/scripts/api.js rename to app/components/client/api-scripts.js diff --git a/app/components/ecosystem/module-lbry.js b/app/components/ecosystem/module-lbry.js index 561bf8f..7af3b27 100644 --- a/app/components/ecosystem/module-lbry.js +++ b/app/components/ecosystem/module-lbry.js @@ -35,7 +35,7 @@ module.exports = exports = () => `

Additional Resources