We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2acb1ea + a8153df commit 3ce122eCopy full SHA for 3ce122e
1 file changed
src/main/java/gg/agit/konect/global/config/WebConfig.java
@@ -31,7 +31,7 @@ public void addCorsMappings(CorsRegistry registry) {
31
.allowedOrigins(corsProperties.allowedOrigins().toArray(new String[0]))
32
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH")
33
.allowedHeaders("*")
34
- .exposedHeaders("Authorization", "Content-Type", "Cache-Control")
+ .exposedHeaders("Authorization")
35
.allowCredentials(true)
36
.maxAge(CORS_PREFLIGHT_MAX_AGE_SECONDS);
37
}
0 commit comments