fix #1620 remove context path
This commit is contained in:
parent
75e4e0b66b
commit
2a1f80a089
1 changed files with 1 additions and 2 deletions
|
@ -226,8 +226,7 @@ public abstract class FessSearchAction extends FessBaseAction {
|
|||
}
|
||||
|
||||
protected HtmlResponse redirectToRoot() {
|
||||
final String contextPath = request.getServletContext().getContextPath();
|
||||
return systemHelper.getRedirectResponseToRoot(newHtmlResponseAsRedirect(StringUtil.isBlank(contextPath) ? "/" : contextPath));
|
||||
return systemHelper.getRedirectResponseToRoot(newHtmlResponseAsRedirect("/"));
|
||||
}
|
||||
|
||||
protected HtmlNext virtualHost(final HtmlNext path) {
|
||||
|
|
Loading…
Add table
Reference in a new issue