Add version/commit hash to header

This commit is contained in:
chimp1984 2020-10-31 13:56:10 -05:00
parent cdace6d9f3
commit c5261320cf
No known key found for this signature in database
GPG Key ID: 9801B4EC591F90E3

View File

@ -24,6 +24,7 @@ import bisq.core.util.FormattingUtils;
import bisq.network.p2p.NodeAddress; import bisq.network.p2p.NodeAddress;
import bisq.common.app.Version;
import bisq.common.util.MathUtils; import bisq.common.util.MathUtils;
import bisq.common.util.Utilities; import bisq.common.util.Utilities;
@ -108,6 +109,7 @@ public class InventoryWebServer {
"<body><h3>") "<body><h3>")
.append("Current time: ").append(new Date().toString()).append("<br/>") .append("Current time: ").append(new Date().toString()).append("<br/>")
.append("Request cycle: ").append(requestCounter).append("<br/>") .append("Request cycle: ").append(requestCounter).append("<br/>")
.append("Version/commit: ").append(Version.VERSION).append(" / ").append(RequestInfo.COMMIT_HASH).append("<br/>")
.append("<table style=\"width:100%\">") .append("<table style=\"width:100%\">")
.append("<tr>") .append("<tr>")
.append("<th align=\"left\">Seed node info</th>") .append("<th align=\"left\">Seed node info</th>")