fix #1620 remove context path

This commit is contained in:
Shinsuke Sugaya 2018-04-21 10:36:17 +09:00
parent 75e4e0b66b
commit 2a1f80a089

View file

@ -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) {