Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fixed config
Browse files Browse the repository at this point in the history
  • Loading branch information
osoohynn committed Aug 27, 2024
1 parent fe2791b commit d55f595
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers(HttpMethod.GET, "/ws/chat").permitAll()
.requestMatchers(HttpMethod.POST, "/chat").permitAll()
.requestMatchers(HttpMethod.GET, "/chat").permitAll()
.requestMatchers(HttpMethod.GET, "/todos/{todoId}").authenticated()
.requestMatchers(HttpMethod.GET, "/todos").authenticated()
.requestMatchers(HttpMethod.POST, "/todos").authenticated()
.requestMatchers(HttpMethod.PATCH, "/todos/{todoId}/check").authenticated()
.requestMatchers(HttpMethod.PATCH, "/todos/{todoId}").authenticated()
.requestMatchers(HttpMethod.DELETE, "/todos/{todoId}").authenticated()
.requestMatchers(HttpMethod.GET, "/todos/{todoId}").permitAll()
.requestMatchers(HttpMethod.GET, "/todos").permitAll()
.requestMatchers(HttpMethod.POST, "/todos").permitAll()
.requestMatchers(HttpMethod.PATCH, "/todos/{todoId}/check").permitAll()
.requestMatchers(HttpMethod.PATCH, "/todos/{todoId}").permitAll()
.requestMatchers(HttpMethod.DELETE, "/todos/{todoId}").permitAll()
.requestMatchers(HttpMethod.GET, "/posts/{postId}").authenticated()
.requestMatchers(HttpMethod.GET, "/posts").authenticated()
.requestMatchers(HttpMethod.POST, "/posts").authenticated()
Expand Down

0 comments on commit d55f595

Please sign in to comment.