Update MvcConfig.java

pull/56/head
RYAN0UP_ 2018-11-15 16:24:28 +08:00 committed by GitHub
parent a466d00506
commit 0d5309d538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -106,7 +106,8 @@ public class MvcConfig implements WebMvcConfigurer {
"access-control-allow-methods",
"access-control-allow-origin",
"access-control-max-age",
"X-Frame-Options")
"X-Frame-Options",
"token")
.allowCredentials(false).maxAge(3600);
}