mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-11-10 17:04:33 +08:00
fix: install redirect
This commit is contained in:
parent
5ef052d0a3
commit
abbf9d4e2a
1 changed files with 5 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue