Skip to content

Commit

Permalink
Merge pull request #63 from Catch-You/fix/사건상세조회
Browse files Browse the repository at this point in the history
[REFACTOR] corsConfig 활성화
  • Loading branch information
xloyeon authored Dec 18, 2023
2 parents 75914df + c32d894 commit c6c6c67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public PasswordEncoder passwordEncoder() {
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
http
.csrf(AbstractHttpConfigurer::disable)
.cors((Customizer<CorsConfigurer<HttpSecurity>>) corsConfig)
.cors(Customizer.withDefaults())
.formLogin(AbstractHttpConfigurer::disable)
.httpBasic(AbstractHttpConfigurer::disable)
.headers(AbstractHttpConfigurer::disable)
Expand Down

0 comments on commit c6c6c67

Please sign in to comment.