About changing the endpoint in insight API (in bitcore)

0

I am just trying to find docs on bitpay's bitcore node to change the endpoint of one of its services , which is insight-api

https://github.com/bitpay/bitcore-node

https://github.com/bitpay/insight-api

The API endpoints will be available by default at: http://localhost:3001/insight-api/

Question: Is there a way to change localhost:3001/insight-api/ to say localhost:3001/btcApi/ ? I understand the config file is like SomeNode/data/bitcoin.conf

gyaani_guy

Posted 2016-08-01T11:21:39.033

Reputation: 123

Answers

1

You can change the bitcore-node.json configuration to include these items: https://github.com/bitpay/insight-api/issues/430

Braydon Fuller

Posted 2016-08-01T11:21:39.033

Reputation: 36

Thanks, I haven't tried it yet, but it looks exactly like what I was looking for – gyaani_guy – 2016-08-02T16:06:03.423