Recently, I've been developing an open source proxy that has a client and a server. Both client and server have scripts.
The server end can be run on a cloud platform, and the client connects the server.
I registered an app on Heroku for debugging the server, and the address of that app is written in the client script temporarily.
This is the environment. But obviously the address of the server is just for personal debugging. I don't want to make it public.
My current method is, every time before I commit to the repository, I delete the address, and after commiting, I add that back. It is not a good manner evidently.
This phenomenon should be very common. How do people usually deal with that?