Including gitCommit and version in frontend build. Backend now sending a backendInfo object containing commit, version and hostname. All printed on About page.

This commit is contained in:
softsimon
2021-04-12 22:17:13 +04:00
parent 6498377b89
commit 38cb10fbac
12 changed files with 74 additions and 25 deletions

View File

@@ -3,9 +3,13 @@
<br>
<img src="./resources/mempool-logo-bigger.png" height="62.5" width="250">
<br>
<br>
<div class="text-small text-center offset-md-1">
v2.2-dev ({{ gitCommit$ | async }})
<div class="text-small">
Frontend:
v{{ packetJsonVersion }} ({{ frontendGitCommitHash }}) [{{ hostname }}]
<br>
Backend: v{{ (backendInfo$ | async ).version }} ({{ (backendInfo$ | async ).gitCommit | slice:0:8 }}) [{{ (backendInfo$ | async).hostname }}]
</div>
<br>