diff --git a/src/main/java/com/jeju/nanaland/global/config/SecurityConfig.java b/src/main/java/com/jeju/nanaland/global/config/SecurityConfig.java index 6378e53f..96d79380 100644 --- a/src/main/java/com/jeju/nanaland/global/config/SecurityConfig.java +++ b/src/main/java/com/jeju/nanaland/global/config/SecurityConfig.java @@ -45,7 +45,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http, http .authorizeHttpRequests(authHttpRequests -> authHttpRequests - .requestMatchers("/swagger-ui/**", "/v3/api-docs/**", "/favicon.ico", + .requestMatchers("/v3/api-docs/**", "/favicon.ico", "/member/join", "/member/login", "/member/reissue", "/share/**", "member/forceWithdrawal", "nana/upload", "/admin/login", "/member/validateNickname", "/version/**", "/actuator/health") @@ -56,7 +56,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http, .hasAnyRole("MEMBER", "ADMIN") .requestMatchers(HttpMethod.POST, "/nana/upload") .permitAll() - .requestMatchers("/notification/send/*") + .requestMatchers("/swagger-ui/**", "/notification/send/*") .hasRole("ADMIN") // admin 페이지 .requestMatchers(HttpMethod.GET, "/admin/**")