mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
perf: 跨域配置
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user