Skip to content

Commit

Permalink
Merge pull request #77 from SKY-HORSE-MAN-POWER/feature/#76
Browse files Browse the repository at this point in the history
Feature/#76
  • Loading branch information
ddolboghi authored Jun 30, 2024
2 parents b0fadd4 + fccd016 commit 7abe837
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 7abe837

Please sign in to comment.