main
leiguohui 1 month ago
parent 9eda593dd4
commit aeba220a9a

@ -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() {

Loading…
Cancel
Save