From 0732344e7905f19cc541727aa26f0a0a90547c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E9=9B=84?= Date: Fri, 11 Aug 2023 06:15:56 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbpmn=E4=B8=8D=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=B7=A8=E5=9F=9F=E7=9A=84=E9=97=AE=E9=A2=98=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbpmn=E4=B8=8D=E6=94=AF=E6=8C=81=E8=B7=A8?= =?UTF-8?q?=E5=9F=9F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 高雄 --- server/src/main/resources/web/bpmn.ftl | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/server/src/main/resources/web/bpmn.ftl b/server/src/main/resources/web/bpmn.ftl index 51e5c63a..8da95053 100644 --- a/server/src/main/resources/web/bpmn.ftl +++ b/server/src/main/resources/web/bpmn.ftl @@ -5,6 +5,14 @@ <#include "*/commonHeader.ftl"> + + <#if currentUrl?contains("http://") || currentUrl?contains("https://") || currentUrl?contains("file://")> + <#assign finalUrl="${currentUrl}"> + <#elseif currentUrl?contains("ftp://") > + <#assign finalUrl="${currentUrl}"> +<#else> + <#assign finalUrl="${baseUrl}${currentUrl}"> +