📜  @crossorigin spring 允许所有 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:49.281000             🧑  作者: Mango

代码示例1
http.cors().configurationSource(request -> new CorsConfiguration().applyPermitDefaultValues());


Try this one if you have at least Java 8: