From 280f680f48be965f562f181db68f95c3b9207fdb Mon Sep 17 00:00:00 2001 From: ghtndl Date: Tue, 5 Nov 2024 09:42:45 +0900 Subject: [PATCH] Refactor: uri modify --- .../org/tenten/bittakotlin/security/config/SecurityConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/tenten/bittakotlin/security/config/SecurityConfig.kt b/src/main/kotlin/org/tenten/bittakotlin/security/config/SecurityConfig.kt index 815d9a2..0e7f010 100644 --- a/src/main/kotlin/org/tenten/bittakotlin/security/config/SecurityConfig.kt +++ b/src/main/kotlin/org/tenten/bittakotlin/security/config/SecurityConfig.kt @@ -95,7 +95,7 @@ class SecurityConfig( http.addFilterBefore(JWTFilter(jwtUtil), LoginFilter::class.java) val loginFilter = LoginFilter(authenticationManager(), jwtUtil, refreshRepository) - loginFilter.setFilterProcessesUrl("/api/member/login") + loginFilter.setFilterProcessesUrl("/api/v1/member/login") http.addFilterAt(loginFilter, UsernamePasswordAuthenticationFilter::class.java) http.addFilterBefore(CustomLogoutFilter(jwtUtil, refreshRepository), LogoutFilter::class.java)