Skip to content

Commit

Permalink
Merge pull request #117 from snuhcs-course/fix/back-reaction-non-user
Browse files Browse the repository at this point in the history
Fetch reaction list for non-users
  • Loading branch information
thisisWooyeol authored Dec 7, 2023
2 parents a024b1e + 6ddb32b commit 50a87cc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class SecurityConfig(
private val jwtTokenProvider: JwtTokenProvider,
) {
private val POST_WHITELIST = arrayOf("/api/user/signup", "/api/user/login")
private val GET_WHITELIST = arrayOf("/api/emoji", "/api/post")
private val GET_WHITELIST = arrayOf("/api/emoji", "/api/post", "/api/reaction")

@Bean
fun ignoringCustomizer(): WebSecurityCustomizer {
Expand All @@ -48,5 +48,4 @@ class SecurityConfig(
fun passwordEncoder(): PasswordEncoder {
return PasswordEncoderFactories.createDelegatingPasswordEncoder()
}

}

0 comments on commit 50a87cc

Please sign in to comment.