diff --git a/src/app.js b/src/app.js index 2781d0b..eb289cf 100644 --- a/src/app.js +++ b/src/app.js @@ -208,11 +208,11 @@ function onError (error) { case 'EACCES': console.error(`${bind} requires elevated privileges`) process.exit(1) - break + // break case 'EADDRINUSE': console.error(`${bind} is already in use`) process.exit(1) - break + // break default: throw error } diff --git a/src/public/index.html b/src/public/index.html index 563dbd3..c6a559e 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -23,24 +23,24 @@ target="_blank" >REST API, allowing modern applications to interact with the Bitcoin Cash (BCH) - blockchain. New to the BCH blockchain? Start by reading more about + blockchain. New to the BCH blockchain? Check out these building full stack applications on BCHeducational resources.


A REST API can work with any programming language, but bch-api is intended to be paired with the npm bch-js JavaScript library. Here is example code @@ -53,7 +53,7 @@


While you'll be able to run through the examples without one, you should - sign-up for a free API key in order to unlock higher rate limits. @@ -66,7 +66,7 @@

bch-api