📅  最后修改于: 2022-03-11 14:52:49.281000             🧑  作者: Mango
http.cors().configurationSource(request -> new CorsConfiguration().applyPermitDefaultValues());
Try this one if you have at least Java 8: