Skip to content

Commit

Permalink
Update SecurityConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
tigris24 authored Sep 26, 2024
1 parent 9248091 commit 5d35827
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public CorsConfigurationSource corsConfigurationSource() {
corsConfiguration.addAllowedOrigin("http://localhost:8080"); // JUST FOR LOCAL DEV
corsConfiguration.addAllowedOrigin("http://localhost:8081"); // JUST FOR LOCAL DEV
corsConfiguration.addAllowedOrigin("http://localhost:3000"); // JUST FOR LOCAL DEV
corsConfiguration.addAllowedHeader("http://13.211.204.222:8080"); // JUST FOR PROD
corsConfiguration.addAllowedHeader("http://13.238.253.88:8080"); // JUST FOR PROD
corsConfiguration.setAllowCredentials(true);

UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
Expand Down

0 comments on commit 5d35827

Please sign in to comment.