Skip to content

Commit

Permalink
Merge pull request #78 from Gongjakso/chore/project-setting
Browse files Browse the repository at this point in the history
fix: CORS 설정 수정
  • Loading branch information
dl-00-e8 authored Feb 19, 2024
2 parents 656b92f + 63e783d commit 7258cb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ CorsConfigurationSource corsConfigurationSource() {
// 인증정보 주고받도록 허용
config.setAllowCredentials(true);
// 허용할 주소
config.setAllowedOrigins(List.of("http://localhost:3000"));
config.setAllowedOrigins(List.of("*"));
// 허용할 HTTP Method
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
// 허용할 헤더 정보
Expand Down

0 comments on commit 7258cb6

Please sign in to comment.