This question seems simple, so I feel like I am over-complicating things. I am working on a public package which makes a couple of http calls internally. I control the endpoints and I have a test and live environment. During development, I have had the package pointing at the test environment. Now, I am getting ready to publish the package. I would like to update these internal URLs to my their live versions.This isn't a hard thing to do manually, but I feel like I should be able to use tooling to make this easier. However, all of my googling is pointing me to dotenv, which I feel solves a different problem.I realize I could write some code to do this myself before deploying, but I feel like this should be a pretty common developer need. Is anyone aware of a "typical" setup for this kind of work?
Submitted February 02, 2020 at 03:40AM by Si1entStill
No comments:
Post a Comment