Skip to content

Commit

Permalink
feat: 좋아요 토글 API URL 인가가 필요 업도록 설정 (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
soomanbaek committed Aug 16, 2023
1 parent 5fb34e8 commit 9c4ea1a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
).permitAll()
.requestMatchers( // POST 메서드
HttpMethod.POST,
"api/panels/{panelId}/question"
"api/panels/{panelId}/question",
"api/questions/{questionId}/like"
).permitAll()
.anyRequest().authenticated();

Expand Down

0 comments on commit 9c4ea1a

Please sign in to comment.