fix: install redirect

This commit is contained in:
devezhao 2020-12-08 14:39:51 +08:00
parent 5ef052d0a3
commit abbf9d4e2a

View file

@ -84,14 +84,17 @@ public class RebuildWebInterceptor extends HandlerInterceptorAdapter implements
return true; return true;
} else { } else {
sendRedirect(response, "/error/server-status", null); sendRedirect(response, "/error/server-status", null);
return false;
} }
} }
// 未安装 // 未安装
else if (!requestUri.contains("/setup/")) { else if (!requestUri.contains("/setup/")) {
sendRedirect(response, "/setup/install", null); sendRedirect(response, "/setup/install", null);
return false;
}
else {
return true;
} }
return false;
} }
final ID requestUser = requestEntry.getRequestUser(); final ID requestUser = requestEntry.getRequestUser();