Fix some UI things.
This commit is contained in:
@ -267,7 +267,9 @@ func (this *MatterController) Upload(writer http.ResponseWriter, request *http.R
|
||||
privacy = true
|
||||
}
|
||||
|
||||
request.ParseMultipartForm(32 << 20)
|
||||
err := request.ParseMultipartForm(32 << 20)
|
||||
this.PanicError(err)
|
||||
|
||||
file, handler, err := request.FormFile("file")
|
||||
this.PanicError(err)
|
||||
defer file.Close()
|
||||
|
Reference in New Issue
Block a user