feat: embed git commit into binary, provide link on frontend

This commit is contained in:
2025-09-13 18:51:48 -05:00
parent 19b3a98f66
commit 28a8a15b6b
4 changed files with 63 additions and 0 deletions

View File

@@ -239,6 +239,10 @@ async fn status(State(_state): State<BannerState>) -> Json<Value> {
"banner_api": {
"status": "connected"
},
"git": {
"commit": env!("GIT_COMMIT_HASH"),
"short": env!("GIT_COMMIT_SHORT")
},
"timestamp": chrono::Utc::now().to_rfc3339()
}))
}