Skip to content

Commit

Permalink
chore: CorsConfig ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
yoondaeng committed Feb 6, 2024
1 parent 3f6c190 commit 15ff661
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public CorsFilter corsFilter() {
config.addAllowedOriginPattern("*");
config.addAllowedHeader("*");
config.addAllowedMethod("*");
config.addAllowedOrigin("https://api.egusajo.shop");

source.registerCorsConfiguration("/**", config);
return new CorsFilter(source);
Expand Down

0 comments on commit 15ff661

Please sign in to comment.