Quarkus: How to detect I am on my DEV server?

Viewed 35

I am building a Quarkus app. I want to implement certain code only if I am running on my DEV server (like: delete all the data in the database and start again!)

What is the best practice for differentiating between DEV and PRODUCTION code?

0 Answers
Related