diff --git a/sdk/common/src/main/java/io/dataease/auth/interceptor/CorsConfig.java b/sdk/common/src/main/java/io/dataease/auth/interceptor/CorsConfig.java index 63c5164187..35e39b1a3a 100644 --- a/sdk/common/src/main/java/io/dataease/auth/interceptor/CorsConfig.java +++ b/sdk/common/src/main/java/io/dataease/auth/interceptor/CorsConfig.java @@ -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 originList; @Override