Skip to content

Commit

Permalink
Merge pull request #78 from SKY-HORSE-MAN-POWER/develop
Browse files Browse the repository at this point in the history
[DEPLOYMENT] 배포된 관리자 사이트 주소 allowOriginPattern 추가
  • Loading branch information
ddolboghi authored Jun 30, 2024
2 parents abf8462 + 7abe837 commit b7a2dc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class SecurityConfiguration {
public CorsConfigurationSource corsConfigurationSource() {
return request -> {
var cors = new org.springframework.web.cors.CorsConfiguration();
cors.setAllowedOriginPatterns(List.of("https://racehorseteam.store", "http://localhost:3000", "https://fe-meetplus.vercel.app"));
cors.setAllowedOriginPatterns(List.of("https://racehorseteam.store", "http://localhost:3000", "https://fe-meetplus.vercel.app", "https://fe-admin-xi.vercel.app/"));
cors.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "PATCH"));
cors.setAllowedHeaders(List.of("*"));
cors.setAllowCredentials(true);
Expand Down

0 comments on commit b7a2dc2

Please sign in to comment.