mirror of https://github.com/halo-dev/halo
Update MvcConfig.java
parent
a466d00506
commit
0d5309d538
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue