Skip to content

Commit

Permalink
[Feat]: profile 정보 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
bayy1216 committed May 31, 2024
1 parent 7df8527 commit 41f8f37
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@

import lombok.extern.slf4j.Slf4j;
import org.haedal.zzansuni.core.api.ApiResponse;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class HealthCheckController {
@Value("${spring.profiles.active}")
private String activeProfile;

@GetMapping("/health")
public String healthCheck() {
return "ok";
return "ok"+activeProfile;
}

}

0 comments on commit 41f8f37

Please sign in to comment.