Skip to content

Commit

Permalink
BE: [fix] cors에러 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
jjin70 committed Dec 7, 2024
1 parent f8c41be commit fecf345
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public CorsFilter corsFilter() {

configuration.addAllowedOrigin("http://localhost:3000"); // 로컬
configuration.addAllowedOrigin("https://ready2run.vercel.app"); // 프론트 IPv4 주소
configuration.addAllowedOrigin("https://52.78.82.12.nip.io"); // https 배포 주소
configuration.addAllowedMethod("*"); // 모든 HTTP 메서드 허용
configuration.addAllowedHeader("*"); // 모든 헤더 허용
configuration.setAllowCredentials(true); // 인증 정보 허용
Expand Down

0 comments on commit fecf345

Please sign in to comment.