that is useless
This commit is contained in:
parent
f21d61c5b4
commit
f15c40c713
@ -10,7 +10,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func uploadFile(wr http.ResponseWriter, rq *http.Request) {
|
func uploadFile(wr http.ResponseWriter, rq *http.Request) {
|
||||||
fmt.Println("File Upload Endpoint Hit")
|
|
||||||
err := rq.ParseMultipartForm(128 << 20)
|
err := rq.ParseMultipartForm(128 << 20)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
http.Error(wr, "Unable to parse form", http.StatusBadRequest)
|
http.Error(wr, "Unable to parse form", http.StatusBadRequest)
|
||||||
|
Loading…
Reference in New Issue
Block a user