FAQ
- 로그인 없이 조회가 가능하도록 수정
This commit is contained in:
@@ -8,6 +8,7 @@ import kr.co.vividnext.sodalive.jwt.JwtFilter
|
||||
import kr.co.vividnext.sodalive.jwt.TokenProvider
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import org.springframework.http.HttpMethod
|
||||
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity
|
||||
import org.springframework.security.config.annotation.web.builders.HttpSecurity
|
||||
import org.springframework.security.config.annotation.web.builders.WebSecurity
|
||||
@@ -77,6 +78,8 @@ class SecurityConfig(
|
||||
.antMatchers("/v2/audio-content/main/home").permitAll()
|
||||
.antMatchers("/v2/audio-content/main/home/popular-content-by-creator").permitAll()
|
||||
.antMatchers("/v2/audio-content/main/home/content/ranking").permitAll()
|
||||
.antMatchers(HttpMethod.GET, "/faq").permitAll()
|
||||
.antMatchers(HttpMethod.GET, "/faq/category").permitAll()
|
||||
.anyRequest().authenticated()
|
||||
.and()
|
||||
.build()
|
||||
|
Reference in New Issue
Block a user