fix:测试5678
This commit is contained in:
parent
4f453384ec
commit
b9ba161563
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user