Skip to content

Commit

Permalink
Merge pull request #32 from ghtndl/main
Browse files Browse the repository at this point in the history
[Refactor] member
  • Loading branch information
ghtndl authored Nov 5, 2024
2 parents 1789b81 + 39127c0 commit 02b929a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ class SecurityConfig(
"/job-post/**",
"/api/v1/like/**").hasRole("USER")

.requestMatchers(HttpMethod.DELETE,"/api/member/{id}").authenticated()
.requestMatchers(HttpMethod.PUT,"/api/member/{id}").authenticated()
.requestMatchers(HttpMethod.DELETE,"/api/v1/member/{id}").authenticated()
.requestMatchers(HttpMethod.PUT,"/api/v1/member/{id}").authenticated()
.requestMatchers("/api/v1/chat/**").authenticated()

.anyRequest().authenticated()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class CustomLogoutFilter(
val requestUri = request.requestURI
logger.info("Incoming request URI: $requestUri")

if (!requestUri.matches("^/api/member/logout$".toRegex())) {
if (!requestUri.matches("^/api/v1/member/logout$".toRegex())) {
logger.warn("Invalid logout request URI: $requestUri")
filterChain.doFilter(request, response)
return
Expand Down

0 comments on commit 02b929a

Please sign in to comment.