Skip to content

Commit

Permalink
[#3] fix: CORS 설정 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dl-00-e8 authored and jinnxyoung committed Mar 31, 2024
1 parent 9f8cd53 commit 6aaf9a8
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 6aaf9a8

Please sign in to comment.