Skip to content

Commit

Permalink
[Feature] HealthCheckController 접근 허용 및 EOL 추가 (#42)
Browse files Browse the repository at this point in the history
* feat(HeatlCheck) : 상태 및 업데이트 확인을 위한 컨트롤러를 추가한다

* feat(SecurityConfig) : heatlcheck 컨트롤러는 권한 없이 접근을 허용

* refactor(HealthCheckController) : EOL 추가
  • Loading branch information
Due-IT authored Dec 1, 2024
1 parent 2460134 commit 1341829
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class SecurityConfig(
.requestMatchers(
"/swagger-ui/**",
"/v3/api-docs/**",
"/health"
).permitAll()
.anyRequest().authenticated()
}.sessionManagement { session ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ class HealthCheckController {
fun healthCheck(): String {
return "2024-12-01 updated"
}
}
}

0 comments on commit 1341829

Please sign in to comment.