Skip to content

Commit

Permalink
feat: health-check 요청 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
koreaioi authored Jul 9, 2024
1 parent dd2d066 commit 2c8a83b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public CorsConfiguration getCorsConfiguration(HttpServletRequest request) {

http
.authorizeHttpRequests((auth) -> auth
.requestMatchers("/login", "/", "/users").permitAll()
.requestMatchers("/login", "/", "/users", "/health-check").permitAll()
.requestMatchers("/user/**").hasRole("USER")
.requestMatchers("/reissue").permitAll()
.anyRequest().authenticated());
Expand Down

0 comments on commit 2c8a83b

Please sign in to comment.