Skip to content

Commit

Permalink
Update runtime/http.go
Browse files Browse the repository at this point in the history
Co-authored-by: Marek Siarkowicz <marek.siarkowicz@protonmail.com>
  • Loading branch information
pchan and serathius authored May 28, 2023
1 parent 3e6870b commit d02a08e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func (*httpHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
_, count, err := Status(fp)
if err != nil {
http.Error(w, "failed to GET: "+err.Error(), http.StatusNotFound)
return
}
w.Write([]byte(strconv.Itoa(count)))
} else {
Expand Down

0 comments on commit d02a08e

Please sign in to comment.