🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
feat: add version to index.html description meta tag
Deluanf403a8da3461
diff --git a/server/app/serve_index.go b/server/app/serve_index.goindex 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.htmlindex 0ff570fc0..8554cfb1c 100644--- a/ui/public/index.html+++ b/ui/public/index.html@@ -4,7 +4,7 @@<meta charset="utf-8" /><metaname="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">