chore: use stamped version (#20909)

This commit is contained in:
andig 2025-04-27 19:37:45 +02:00 • committed by GitHub
parent 2eb6d31c2a
commit ad362f287d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 18 additions and 21 deletions

View file

@ -57,8 +57,8 @@ func indexHandler() http.HandlerFunc {
defaultLang := getPreferredLanguage(r.Header.Get("Accept-Language"))
if err := t.Execute(w, map[string]interface{}{
"Version": Version,
"Commit": Commit,
"Version": util.Version,
"Commit": util.Commit,
"DefaultLang": defaultLang,
}); err != nil {
log.ERROR.Println("httpd: failed to render main page:", err.Error())