Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #252 from WisdomWorks/dev-clound
Browse files Browse the repository at this point in the history
Dev clound
  • Loading branch information
th4tkh13m authored Apr 24, 2024
2 parents e3d10f5 + abc274e commit 046ddda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/example/codeE/security/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ CorsConfigurationSource corsConfigurationSource() {
config.setAllowCredentials(true);
config.addAllowedOrigin("http://localhost:4000");
config.addAllowedOrigin("http://localhost:4001");
// config.addAllowedOrigin(environment.getProperty("url.admin.ui"));
// config.addAllowedOrigin(environment.getProperty("url.user.ui"));
config.addAllowedOrigin(environment.getProperty("url.admin.ui"));
config.addAllowedOrigin(environment.getProperty("url.user.ui"));
config.addAllowedHeader("*");
config.addAllowedMethod("*");
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
Expand Down

0 comments on commit 046ddda

Please sign in to comment.