diff --git a/upload.go b/upload.go index c99fc1c..d2e0504 100644 --- a/upload.go +++ b/upload.go @@ -51,8 +51,6 @@ func uploadPostHandler(c web.C, w http.ResponseWriter, r *http.Request) { upReq.filename = r.URL.Query().Get("qqfile") } else if strings.HasPrefix(contentType, "multipart/form-data") { - return - file, headers, err := r.FormFile("file") if err != nil { oopsHandler(c, w, r)