Skip to content

Commit

Permalink
chore: cors 제외 정책 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
dong2ast committed Jul 10, 2023
1 parent 291be30 commit 7ac290e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/sophy/sophy/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
//CSRF 설정 Disable
http.csrf().disable()

.cors().configurationSource(corsConfigurationSource())
.and()
.cors(cors -> cors.disable())
// .and()

//exception handling 할 때 우리가 만든 클래스를 추가
.exceptionHandling()
Expand Down

0 comments on commit 7ac290e

Please sign in to comment.