Skip to content

Commit

Permalink
fix routeHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
syumai committed May 29, 2022
1 parent 4273b5f commit e4c098f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/r2-image-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func (s *server) routeHandler(w http.ResponseWriter, req *http.Request) {
return
case "POST":
s.post(w, req, key)
return
default:
w.WriteHeader(http.StatusNotFound)
w.Write([]byte("url not found\n"))
Expand Down

0 comments on commit e4c098f

Please sign in to comment.