I am trying to host my dapp on Heroku and smart contract on Rinkeby network. My dapp has a front end in node.js and jquery and an express backend server that I use to listen to solidity events and to 'get' and 'put' data from 'Mlab' mongodb offchain server. The app works perfectly fine on my Local Ganache and my server.js and below line of code to get the web3 instance.
const provider = new Web3.providers.HttpProvider("HTTP://127.0.0.1:8545");
My question is while deploying the server.js to Heroku should I keep this web3 provider setting same or does it need to be changed to some other value, please suggest.