Skip to content

Commit

Permalink
Merge pull request #50 from Kernel360/dev
Browse files Browse the repository at this point in the history
fix config
  • Loading branch information
xorwns118 authored Sep 25, 2024
2 parents 7864f4e + 26f79e8 commit 0feec6f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +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.setAllowCredentials(true);

UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
Expand Down

0 comments on commit 0feec6f

Please sign in to comment.