From ac4e692af08ac6d72a53fa9ddd15a29b03e58f5c Mon Sep 17 00:00:00 2001 From: smg0725 Date: Tue, 2 Jul 2024 23:39:12 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT]=20co,cd=EC=9A=A9=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/tiki/server/controller/ProfileController.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/tiki/server/controller/ProfileController.java b/src/main/java/com/tiki/server/controller/ProfileController.java index 9f79cc13..9b55b895 100644 --- a/src/main/java/com/tiki/server/controller/ProfileController.java +++ b/src/main/java/com/tiki/server/controller/ProfileController.java @@ -20,4 +20,10 @@ public String getProfile() { .findFirst() .orElse(NULL); } + @GetMapping("/profile-test") + public String getProfileTest() { + return Arrays.stream(env.getActiveProfiles()) + .findFirst() + .orElse(NULL); + } } \ No newline at end of file