diff --git a/src/main/java/com/api/TaveShot/global/config/SecurityConfig.java b/src/main/java/com/api/TaveShot/global/config/SecurityConfig.java index f0ea1f3..375a0d6 100644 --- a/src/main/java/com/api/TaveShot/global/config/SecurityConfig.java +++ b/src/main/java/com/api/TaveShot/global/config/SecurityConfig.java @@ -39,7 +39,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { .requestMatchers( "/swagger-ui/**" ,"/oauth/**" - ,"**/favicon.ico" + ,"/**/favicon.ico" ,"/login/**" , "/api/health" , "/api/v1/search" @@ -47,7 +47,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { .anyRequest().authenticated()); http.requiresChannel() - .requestMatchers("**/favicon.ico").requiresSecure(); + .requestMatchers("/**/favicon.ico").requiresSecure(); + http .oauth2Login() .authorizationEndpoint()