diff --git a/pom.xml b/pom.xml index 4b27c63..02168e0 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 yq - yq_0bject_detection + yq 3.8.6 yq_0bject_detection diff --git a/yq-framework/src/main/java/yq/framework/config/ServerConfig.java b/yq-framework/src/main/java/yq/framework/config/ServerConfig.java index 79da06b..0ea39c3 100644 --- a/yq-framework/src/main/java/yq/framework/config/ServerConfig.java +++ b/yq-framework/src/main/java/yq/framework/config/ServerConfig.java @@ -27,6 +27,6 @@ public class ServerConfig { StringBuffer url = request.getRequestURL(); String contextPath = request.getServletContext().getContextPath(); - return url.delete(url.length() - request.getRequestURI().length(), url.length()).append(contextPath).toString(); + return url.delete(url.length() - request.getRequestURI().length(), url.length()).append(":"+request.getLocalPort()).append(contextPath).toString(); } } diff --git a/yq-system/pom.xml b/yq-system/pom.xml index cf9ae7b..1365af4 100644 --- a/yq-system/pom.xml +++ b/yq-system/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> yq - yq_0bject_detection + yq 3.8.6 4.0.0