From 5ea48f35158731df6061f4b9fe67d50277b373e9 Mon Sep 17 00:00:00 2001 From: hseoky desktop Date: Thu, 31 Oct 2024 22:44:32 +0900 Subject: [PATCH] =?UTF-8?q?[#487]=20fix:=20=EC=8A=A4=EC=9B=A8=EA=B1=B0=20?= =?UTF-8?q?=EC=A0=91=EC=86=8D=20=EA=B6=8C=ED=95=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jeju/nanaland/global/config/SecurityConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/**")