Skip to content

Commit

Permalink
[fix] 공백 -> *로 replace
Browse files Browse the repository at this point in the history
  • Loading branch information
hysong4u committed Oct 5, 2024
1 parent 989a25b commit 498681e
Showing 1 changed file with 1 addition and 1 deletion.
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("https://hack-dive-front.vercel.app/");
config.addAllowedOrigin("https://hack-dive-front.vercel.app");
config.addAllowedHeader("*");
config.setAllowedMethods(Arrays.asList("HEAD", "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
source.registerCorsConfiguration("/**", config);
Expand Down

0 comments on commit 498681e

Please sign in to comment.