forked from github/dataease
perf: 跨域配置
This commit is contained in:
parent
8f99a9dd1c
commit
4c8e859329
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user