Commit b9b3b9fa by tntxia

增加系统的健康检测页面,JwtUtil多乘了1000,导致用户登录不会超时

parent 7f4457b5
......@@ -39,7 +39,7 @@ public class JwtUtil {
@Value("${jwt.age: 86400}")
private void setAge(long age) {
JwtUtil.age = age * 1000;
JwtUtil.age = age;
}
@Value("${jwt.secret: CloudApiSample}")
......
......@@ -36,6 +36,9 @@ public class GlobalMVCConfigurer implements WebMvcConfigurer {
excludePaths.add("/swagger-ui/**");
excludePaths.add("/v3/**");
excludePaths.add("/ui/**");
excludePaths.add("/actuator/health");
excludePaths.add("/" + managePrefix + manageVersion + "/devices/**/deviceInfo");
excludePaths.add("/" + managePrefix + manageVersion + "/live/streams/start2");
excludePaths.add("/" + managePrefix + manageVersion + "/live/streams/stop2");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment