Updated swagger file and version info

This commit is contained in:
2021-10-28 21:21:56 +02:00
parent a742aead0a
commit 015620add6
3 changed files with 20 additions and 12 deletions

View File

@@ -16,9 +16,17 @@ func indexHandler(w http.ResponseWriter, r *http.Request) {
testf()
data := VersionData{Version: "2.1.1",
Changelog: "Fixed bug where wrong song was showed as currently played.",
data := VersionData{Version: "2.1.3",
Changelog: "Added a check to see if song exists before returning it, if not a new song will be picked up.",
History: []VersionData{
{
Version: "2.1.2",
Changelog: "Added test server to swagger file.",
},
{
Version: "2.1.1",
Changelog: "Fixed bug where wrong song was showed as currently played.",
},
{
Version: "2.1.0",
Changelog: "Added /addQue to add the last received song to the songQue. " +