Skip to content

Commit b17aaab

Browse files
Merge pull request #602 from Podo-Store/develop
feat: 메트릭 설정 추가(#597)
2 parents c1e618a + 95f8b52 commit b17aaab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/PodoeMarket/podoemarket/common/config/WebConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
4040
.sessionManagement(sessionManagement -> sessionManagement
4141
.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
4242
.authorizeHttpRequests(authorize -> authorize
43+
.requestMatchers("/actuator/health").permitAll()
4344
.requestMatchers(permitPath).permitAll() // 인증 없이 접근 가능한 경로 설정
4445
.requestMatchers(swaggerPath).permitAll() // 스웨거 경로 설정
4546
.anyRequest().authenticated()); // 나머지 모든 요청은 인증 필요

0 commit comments

Comments
 (0)