Skip to content

Commit

Permalink
Merge pull request #6 from TIT8/patch
Browse files Browse the repository at this point in the history
Update form-api.go
  • Loading branch information
TIT8 committed Aug 28, 2023
2 parents bb681fc + ebe2c88 commit 2204e63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions form-api.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func handler_post(w http.ResponseWriter, r *http.Request) {

content_type, err := regexp.MatchString("multipart/form-data", r.Header.Get("Content-Type"))
if err != nil {
log.Fatal(err)
log.Println(err)
}
log.Printf("Content-Type is multipart/form-data? %v\n", content_type)

Expand Down Expand Up @@ -162,7 +162,7 @@ func handler_post(w http.ResponseWriter, r *http.Request) {
response := Response{ok}
res, err := json.Marshal(response)
if err != nil {
log.Fatal(err)
log.Println(err)
}
log.Println(string(res))

Expand Down

0 comments on commit 2204e63

Please sign in to comment.