Remove error
This commit is contained in:
parent
2f5bf2cd65
commit
8a1b688b3c
|
@ -51,8 +51,6 @@ func uploadPostHandler(c web.C, w http.ResponseWriter, r *http.Request) {
|
||||||
upReq.filename = r.URL.Query().Get("qqfile")
|
upReq.filename = r.URL.Query().Get("qqfile")
|
||||||
|
|
||||||
} else if strings.HasPrefix(contentType, "multipart/form-data") {
|
} else if strings.HasPrefix(contentType, "multipart/form-data") {
|
||||||
return
|
|
||||||
|
|
||||||
file, headers, err := r.FormFile("file")
|
file, headers, err := r.FormFile("file")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
oopsHandler(c, w, r)
|
oopsHandler(c, w, r)
|
||||||
|
|
Loading…
Reference in New Issue