perf: 跨域配置

This commit is contained in:
fit2cloud-chenyw 2023-11-23 22:28:17 +08:00
parent 8f99a9dd1c
commit 4c8e859329

View File

@ -17,7 +17,7 @@ public class CorsConfig implements WebMvcConfigurer {
@Resource(name = "deCorsInterceptor")
private CorsInterceptor corsInterceptor;
@Value("#{'${dataease.origin-list}'.split(',')}")
@Value("#{'${dataease.origin-list:http://127.0.0.1:8100}'.split(',')}")
private List<String> originList;
@Override