From 6ddb32ba958e5f0f95ec9368d84ee7851e26b25d Mon Sep 17 00:00:00 2001 From: peng-u-0807 Date: Thu, 7 Dec 2023 14:50:46 +0900 Subject: [PATCH] fix: fetch reaction list for non-users --- .../emojihub/springboot/global/config/SecurityConfig.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/springboot/src/main/kotlin/com/goliath/emojihub/springboot/global/config/SecurityConfig.kt b/springboot/src/main/kotlin/com/goliath/emojihub/springboot/global/config/SecurityConfig.kt index 635f3deb..988f3627 100644 --- a/springboot/src/main/kotlin/com/goliath/emojihub/springboot/global/config/SecurityConfig.kt +++ b/springboot/src/main/kotlin/com/goliath/emojihub/springboot/global/config/SecurityConfig.kt @@ -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 { @@ -48,5 +48,4 @@ class SecurityConfig( fun passwordEncoder(): PasswordEncoder { return PasswordEncoderFactories.createDelegatingPasswordEncoder() } - } \ No newline at end of file