Merge pull request #6829 from dataease/pr@dev-v2@perf_cors_config

perf: 跨域配置
This commit is contained in:
fit2cloud-chenyw 2023-11-23 22:29:08 +08:00 committed by GitHub
commit 831a92b91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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