We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8347c77 commit 8ac7ef3Copy full SHA for 8ac7ef3
1 file changed
src/main/java/org/umaxcode/config/SecurityConfig.java
@@ -48,7 +48,7 @@ public CorsConfigurationSource corsConfigurationSource() {
48
cors.addAllowedHeader("*");
49
cors.addAllowedMethod("*");
50
cors.setAllowCredentials(true);
51
- cors.setAllowedOrigins(List.of("http://localhost:3000", "https://dev.d2x151q2vf1tfl.amplifyapp.com", "https://main.d1m5j798vicdd1.amplifyapp.com"));
+ cors.setAllowedOrigins(List.of( "https://main.d2i58a1z0px5uw.amplifyapp.com"));
52
source.registerCorsConfiguration("/**", cors);
53
54
return source;
0 commit comments