Skip to content

Commit

Permalink
release: deployment configs
Browse files Browse the repository at this point in the history
  • Loading branch information
thongdanghoang committed Feb 22, 2025
1 parent 7ac0cc2 commit 312542f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public CorsConfigurationSource corsConfigurationSource() {
CorsConfiguration config = new CorsConfiguration();
config.addAllowedHeader("*");
config.addAllowedMethod("*");
config.addAllowedOrigin("http://localhost:4200");
config.addAllowedOrigin("https://greenbuildings.cloud");
config.setAllowCredentials(true);
source.registerCorsConfiguration("/**", config);
return source;
Expand Down

0 comments on commit 312542f

Please sign in to comment.