diff --git a/src/main/java/com/mpnp/baechelin/util/Nginx.java b/src/main/java/com/mpnp/baechelin/util/Nginx.java index 4dc0cd1..669eccd 100644 --- a/src/main/java/com/mpnp/baechelin/util/Nginx.java +++ b/src/main/java/com/mpnp/baechelin/util/Nginx.java @@ -15,13 +15,6 @@ public class Nginx { @GetMapping("/health") public String main() { - final List profiles = Arrays.asList(environment.getActiveProfiles()); - final List prodProfiles = Arrays.asList("prod1", "prod2"); - final String defaultProfile = profiles.get(0); - - return Arrays.stream(environment.getActiveProfiles()) - .filter(prodProfiles::contains) - .findAny() - .orElse(defaultProfile); + return "Health UP"; } }