Skip to content

Commit b7aa64e

Browse files
dickerpullijoshiste
authored andcommitted
Fix actuator path filter in http traces view while having a
server.servlet.contextPath set
1 parent d3518a3 commit b7aa64e

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-admin-server-ui/src/main/frontend/views/instances/httptrace

1 file changed

+1
-1
lines changed

spring-boot-admin-server-ui/src/main/frontend/views/instances/httptrace/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
if (this.instance.registration.managementUrl.includes(this.instance.registration.serviceUrl)) {
165165
const appendix = this.instance.registration.managementUrl.substring(this.instance.registration.serviceUrl.length);
166166
if (appendix.length > 0) {
167-
return `/${appendix}`;
167+
return appendix.startsWith('/') ? appendix : `/${appendix}`;
168168
}
169169
}
170170
return null;

0 commit comments

Comments
 (0)