Hello i have install bitcore using npm no global and i start bitcored
i want to change the path from mydomain.com/insight to mydomain.com and the mydomain.com/insight-api to mydomain.com/api
Any help is appreciated
Hello i have install bitcore using npm no global and i start bitcored
i want to change the path from mydomain.com/insight to mydomain.com and the mydomain.com/insight-api to mydomain.com/api
Any help is appreciated
You can include a “servicesConfig” in bitcore-node.json:
{
"services": [
"address",
"bitcoind",
"db",
"insight-api",
"insight-ui",
"web"
],
"servicesConfig": {
"insight-ui": {
"routePrefix": "",
"apiPrefix": "api"
},
"insight-api": {
"routePrefix": "api"
}
},
"datadir": "/home/user/.bitcore/data",
"network": "livenet",
"port": 3001
}