mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-12-22 08:48:54 +00:00
[TASK] Port number 80 removed in URLs
This commit is contained in:
parent
ac9d0e02ca
commit
76ad7acd21
@ -3,6 +3,9 @@
|
|||||||
|
|
||||||
<c:set var="contextroot" value="${pageContext.request.contextPath}" />
|
<c:set var="contextroot" value="${pageContext.request.contextPath}" />
|
||||||
<c:set var="hostpath" value="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${contextroot}" />
|
<c:set var="hostpath" value="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${contextroot}" />
|
||||||
|
<c:if test="${pageContext.request.serverPort == 80 }">
|
||||||
|
<c:set var="hostpath" value="http://${pageContext.request.serverName}${contextroot}" />
|
||||||
|
</c:if>
|
||||||
<c:if test="${!empty encoded}">
|
<c:if test="${!empty encoded}">
|
||||||
<c:set var="imgurl" value="${hostpath}/img/${encoded}" />
|
<c:set var="imgurl" value="${hostpath}/img/${encoded}" />
|
||||||
<c:set var="svgurl" value="${hostpath}/svg/${encoded}" />
|
<c:set var="svgurl" value="${hostpath}/svg/${encoded}" />
|
||||||
|
Loading…
Reference in New Issue
Block a user