This commit is contained in:
fzorb 2024-09-23 21:53:35 +03:00
parent f15c40c713
commit 0b47c87810

View File

@ -16,7 +16,6 @@ func uploadFile(wr http.ResponseWriter, rq *http.Request) {
return
}
// Retrieve the uploaded file using the form field `myFile`
file, handler, er := rq.FormFile("file")
if er != nil {
http.Error(wr, "Error getting the file", http.StatusBadRequest)