|
@@ -46,7 +46,7 @@ public class WebSecurity extends WebSecurityConfigurerAdapter {
|
46
|
46
|
CorsConfigurationSource corsConfigurationSource() {
|
47
|
47
|
final UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
|
48
|
48
|
CorsConfiguration cors = new CorsConfiguration().applyPermitDefaultValues();
|
49
|
|
- cors.addAllowedHeader("Authorization");
|
|
49
|
+ cors.addExposedHeader("Authorization");
|
50
|
50
|
|
51
|
51
|
source.registerCorsConfiguration("/**", cors);
|
52
|
52
|
return source;
|