Skip to content

Commit

Permalink
[fix] Cors 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
sanghee0820 committed Oct 14, 2024
1 parent 26a0158 commit 2a34307
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public CorsFilter corsFilter() {
var source = new UrlBasedCorsConfigurationSource();
var config = new CorsConfiguration();
config.setAllowCredentials(true);
config.addAllowedOrigin("*");
config.addAllowedOrigin("https://api.inplace.my");
config.addAllowedHeader("*");
config.addAllowedMethod("*");
source.registerCorsConfiguration("/**", config);
Expand Down

0 comments on commit 2a34307

Please sign in to comment.