fix:测试5678

This commit is contained in:
wangjiahao 2021-07-22 12:45:42 +08:00
parent 4f453384ec
commit b9ba161563

View File

@ -22,6 +22,11 @@ public class CorsConfig {
corsConfiguration.addAllowedMethod(CorsConfiguration.ALL);
//4,允许凭证
corsConfiguration.setAllowCredentials(true);
corsConfiguration.setAllowCredentials(true);
corsConfiguration.setAllowCredentials(true);
corsConfiguration.setAllowCredentials(true);
corsConfiguration.setAllowCredentials(true);
corsConfiguration.setAllowCredentials(true);
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
source.registerCorsConfiguration("/**", corsConfiguration);