瀏覽代碼

Update WebContext.java

MaxKey 4 年之前
父節點
當前提交
6cad4e7f7d
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      maxkey-core/src/main/java/org/maxkey/web/WebContext.java

+ 0 - 1
maxkey-core/src/main/java/org/maxkey/web/WebContext.java

@@ -208,7 +208,6 @@ public final class WebContext {
         		||httpServletRequest.getServerName().equalsIgnoreCase("localhost")) {
             httpContextPath = httpServletRequest.getScheme().toLowerCase() 
             					+ "://"+httpServletRequest.getServerName();
-	        httpContextPath += httpServletRequest.getContextPath();
         }else {
         	 httpContextPath = applicationConfig.getServerName() ;
         }