Commit b7aa64ee by Thomas Bosch Committed by Johannes Edmeier

Fix actuator path filter in http traces view while having a

server.servlet.contextPath set
parent d3518a32
......@@ -164,7 +164,7 @@
if (this.instance.registration.managementUrl.includes(this.instance.registration.serviceUrl)) {
const appendix = this.instance.registration.managementUrl.substring(this.instance.registration.serviceUrl.length);
if (appendix.length > 0) {
return `/${appendix}`;
return appendix.startsWith('/') ? appendix : `/${appendix}`;
}
}
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment