diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 98f8d27..6c3236a 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -19,14 +19,11 @@
-
-
+
-
-
@@ -176,7 +173,8 @@
-
+
+
true
@@ -198,10 +196,10 @@
-
+
-
+
@@ -210,25 +208,25 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -254,10 +252,10 @@
-
+
-
+
diff --git a/app.yaml b/app.yaml
index 66f0a2a..ffd6146 100644
--- a/app.yaml
+++ b/app.yaml
@@ -1,5 +1,5 @@
application: musicserver
-version: 2.0.2
+version: 2.0.3
runtime: go115
api_version: go1
diff --git a/doc/swagger.yaml b/doc/swagger.yaml
index 64cd74e..ecb3fa0 100644
--- a/doc/swagger.yaml
+++ b/doc/swagger.yaml
@@ -1,8 +1,8 @@
openapi: 3.0.3
info:
- version: "2.0.2"
+ version: "2.0.3"
title: "Music Server"
- description: "Hopefully fixed the caching problem with random."
+ description: "Another small change that should fix the caching problem."
contact:
email: "zarnor91@gmail.com"
servers:
diff --git a/musicFacade.go b/musicFacade.go
index c6c0fc0..8846251 100644
--- a/musicFacade.go
+++ b/musicFacade.go
@@ -263,7 +263,7 @@ func sendFile(writer http.ResponseWriter, request *http.Request, Filename string
FileSize := strconv.FormatInt(FileStat.Size(), 10) //Get file size as a string
//Send the headers
- writer.Header().Set("Content-Disposition", "attachment; filename="+Filename)
+ //writer.Header().Set("Content-Disposition", "attachment; filename="+Filename)
writer.Header().Set("Content-Type", "audio/mpeg")
writer.Header().Set("Content-Length", FileSize)
diff --git a/musicserver.go b/musicserver.go
index 39140d9..f7c71fd 100644
--- a/musicserver.go
+++ b/musicserver.go
@@ -107,9 +107,13 @@ func indexHandler(w http.ResponseWriter, r *http.Request) {
testf()
- data := VersionData{Version: "2.0.2",
- Changelog: "Hopefully fixed the caching problem with random.",
+ data := VersionData{Version: "2.0.3",
+ Changelog: "Another small change that should fix the caching problem.",
History: []VersionData{
+ {
+ Version: "2.0.2",
+ Changelog: "Hopefully fixed the caching problem with random.",
+ },
{
Version: "2.0.1",
Changelog: "Fixed CORS",