mirror of
https://github.com/dataease/dataease.git
synced 2026-06-12 16:31:11 +08:00
Merge pull request #9779 from dataease/pr@dev@perf_dynamic_url_prefix
perf: 动态配置访问路径前缀
This commit is contained in:
@@ -281,7 +281,7 @@ public class PanelLinkService {
|
||||
List<PanelLinkMapping> mappings = panelLinkMappingMapper.selectByExample(example);
|
||||
PanelLinkMapping mapping = mappings.get(0);
|
||||
String uuid = mapping.getUuid();
|
||||
return contextPath + SHORT_URL_PREFIX + (StringUtils.isBlank(uuid) ? mapping.getId() : uuid);
|
||||
return (StringUtils.isNotBlank(contextPath) ? contextPath : "") + SHORT_URL_PREFIX + (StringUtils.isBlank(uuid) ? mapping.getId() : uuid);
|
||||
}
|
||||
|
||||
public String saveTicket(TicketCreator creator) {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
server.servlet.context-path=
|
||||
Reference in New Issue
Block a user