Hacker News new | past | comments | ask | show | jobs | submit login

You can do the @production one with an envar or any other mechanism. I've been using it for years (with an envar) and it works really well.

Besides switching between something like production and test you can catch a case where an envar isn't set or is an unexpected value.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: