low case file extension

master
Jan-Lukas Else 2020-01-19 11:01:24 +01:00
parent 9ca7da9ae5
commit 1fb3f28aea
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ func HandleMedia(w http.ResponseWriter, r *http.Request) {
}
}
}
fileName += fileExtension
fileName += strings.ToLower(fileExtension)
location, err := SelectedMediaStorage.Upload(fileName, file)
if err != nil {
w.WriteHeader(http.StatusInternalServerError)