update version reporting to include git branch, in prep for v1.0

This commit is contained in:
zefie
2021-08-08 11:04:59 -04:00
parent c539d408c9
commit 9c68dc5585
5 changed files with 12 additions and 17 deletions

View File

@@ -24,9 +24,7 @@ data = `<html>
Mini service
<tr><td>
zefie minisrv v${minisrv_config.version}`;
if (getGitRevision()) {
data += " (git " + getGitRevision().substring(0, 8) + ")";
}
if (minisrv_config.config.git_commit) data += " (git " + minisrv_config.config.git_commit + ")";
data += `
<tr><td>&rate;
</table>