From aeba220a9a51039b53f3dc204265836c3b5f7579 Mon Sep 17 00:00:00 2001 From: leiguohui Date: Fri, 11 Oct 2024 14:42:57 +0800 Subject: [PATCH] cehsi --- src/main/java/com/hive/config/CorsConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {