Skip to content

Commit

Permalink
Merge pull request #37 from SSUMatch/feat/1-match
Browse files Browse the repository at this point in the history
[feat]:Mainconfig
  • Loading branch information
qogustj authored Jun 5, 2024
2 parents b63d3b5 + 2f825da commit 21b0f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Main/src/main/java/com/Main/global/config/CorsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public CorsFilter corsFilter() {
CorsConfiguration config = new CorsConfiguration();
config.setAllowCredentials(true);
config.addAllowedOrigin("http://localhost:3000");
config.addAllowedOrigin("");
config.addAllowedOrigin("https://match-xi.vercel.app/");
config.addAllowedHeader("*");
config.setAllowedMethods(Arrays.asList("HEAD", "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
source.registerCorsConfiguration("/**",config);
Expand Down

0 comments on commit 21b0f89

Please sign in to comment.