Skip to content

Commit

Permalink
Merge pull request #79 from Gongjakso/chore/project-setting
Browse files Browse the repository at this point in the history
[#3] fix: CORS 설정 수정
  • Loading branch information
dl-00-e8 authored Feb 19, 2024
2 parents 7258cb6 + d3211f6 commit 8235f79
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("*"));
config.setAllowedOriginPatterns(List.of("*"));
// 허용할 HTTP Method
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
// 허용할 헤더 정보
Expand Down

0 comments on commit 8235f79

Please sign in to comment.