diff --git a/server/app/serve_index.go b/server/app/serve_index.go index cd3a5a992..79cbcb90b 100644 --- a/server/app/serve_index.go +++ b/server/app/serve_index.go @@ -7,6 +7,7 @@ import ( "net/http" "github.com/deluan/navidrome/assets" + "github.com/deluan/navidrome/consts" "github.com/deluan/navidrome/log" "github.com/deluan/navidrome/model" ) @@ -34,6 +35,7 @@ func ServeIndex(ds model.DataStore) http.HandlerFunc { j, _ := json.Marshal(appConfig) data := map[string]interface{}{ "AppConfig": string(j), + "Version": consts.Version(), } err = t.Execute(w, data) if err != nil { diff --git a/ui/public/index.html b/ui/public/index.html index 0ff570fc0..8554cfb1c 100644 --- a/ui/public/index.html +++ b/ui/public/index.html @@ -4,7 +4,7 @@ <meta charset="utf-8" /> <meta name="description" - content="Navidrome Music Server" + content="Navidrome Music Server - {{.Version}}" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <link rel="apple-touch-icon" sizes="57x57" href="%PUBLIC_URL%/apple-icon-57x57.png">