From 6cad4e7f7d5264a1ba327f3b5aec5d6b96507a0d Mon Sep 17 00:00:00 2001 From: MaxKey Date: Sun, 25 Apr 2021 20:20:58 +0800 Subject: [PATCH] Update WebContext.java --- maxkey-core/src/main/java/org/maxkey/web/WebContext.java | 1 - 1 file changed, 1 deletion(-) diff --git a/maxkey-core/src/main/java/org/maxkey/web/WebContext.java b/maxkey-core/src/main/java/org/maxkey/web/WebContext.java index 9627acea..4a55a718 100644 --- a/maxkey-core/src/main/java/org/maxkey/web/WebContext.java +++ b/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() ; }