diff --git a/src/main/java/com/hive/config/CorsConfig.java b/src/main/java/com/hive/config/CorsConfig.java index 6a79efd..63e2adf 100644 --- a/src/main/java/com/hive/config/CorsConfig.java +++ b/src/main/java/com/hive/config/CorsConfig.java @@ -9,7 +9,7 @@ import org.springframework.web.filter.CorsFilter; @Configuration public class CorsConfig { // 当前跨域请求最大有效时长。这里默认1天 - private static final long MAX_AGE = 24 * 60 * 60; + private static final long MAX_AGE = 24 * 60 * 60; @Bean public CorsFilter corsFilter() {