We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ff05230 + e3d6d5f commit 3c968f5Copy full SHA for 3c968f5
1 file changed
src/main/java/DiffLens/back_end/global/security/SecurityConfig.java
@@ -93,6 +93,7 @@ public CorsConfigurationSource corsConfigurationSource() {
93
securityProperties.getAllowedOrigins().forEach(configuration::addAllowedOriginPattern);
94
configuration.setAllowCredentials(true);
95
configuration.addAllowedMethod("*");
96
+ configuration.addAllowedHeader("*");
97
configuration.setMaxAge(3600L);
98
99
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
0 commit comments