diff --git a/bitcore-node/index.js b/bitcore-node/index.js index 2d6db13..a9bfa70 100644 --- a/bitcore-node/index.js +++ b/bitcore-node/index.js @@ -17,6 +17,10 @@ InsightUI.prototype.start = function(callback) { setImmediate(callback); }; +InsightUI.prototype.getRoutePrefix = function() { + return 'insight'; +}; + InsightUI.prototype.setupRoutes = function(app, express) { var self = this; diff --git a/package.json b/package.json index 86d031a..463bef3 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "insight-bitcore", + "name": "insight-ui", "description": "An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the bitcoin network and build your own services with it.", "version": "0.2.7", "repository": "git://github.com/bitpay/insight.git", @@ -38,12 +38,8 @@ "bitcore", "front-end" ], - "scripts": { - "start": "INSIGHT_PUBLIC_PATH=public node node_modules/.bin/insight-bitcore-api" - }, "bitcoreNode": "bitcore-node", "dependencies": { - "insight-bitcore-api": ">=0.2.14" }, "devDependencies": { "bower": "~1.2.8",