Skip to content

Commit

Permalink
Merge pull request #30 from team-tiki-taka/feat/entity
Browse files Browse the repository at this point in the history
🔨 fix(prod): HealthCheckController 설정
  • Loading branch information
gengminy authored Oct 6, 2022
2 parents e3f3e62 + bfc7a2b commit 6a45375
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
@RestController
@RequiredArgsConstructor
public class MainController {
@GetMapping("/")
public CommonApiResponse<Boolean> rootEndPoint() {
@GetMapping
public CommonApiResponse<Boolean> healthCheck() {
return CommonApiResponse.of(true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.antMatchers("/admin/**").hasAuthority("ROLE_ADMIN")
.antMatchers("/member/login").permitAll()
.antMatchers("/member/join").permitAll()
.antMatchers("/").permitAll() //health check
.antMatchers("/sms/**").permitAll()
.antMatchers(HttpMethod.POST, "/recommend").permitAll()
.antMatchers("/recommend/**").permitAll()
Expand Down

0 comments on commit 6a45375

Please sign in to comment.