We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c1e618a + 95f8b52 commit b17aaabCopy full SHA for b17aaab
1 file changed
src/main/java/PodoeMarket/podoemarket/common/config/WebConfig.java
@@ -40,6 +40,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
40
.sessionManagement(sessionManagement -> sessionManagement
41
.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
42
.authorizeHttpRequests(authorize -> authorize
43
+ .requestMatchers("/actuator/health").permitAll()
44
.requestMatchers(permitPath).permitAll() // 인증 없이 접근 가능한 경로 설정
45
.requestMatchers(swaggerPath).permitAll() // 스웨거 경로 설정
46
.anyRequest().authenticated()); // 나머지 모든 요청은 인증 필요
0 commit comments