Skip to content

Commit 0eac736

Browse files
committed
Ensure 200 on buildinfo route
1 parent 7fc1570 commit 0eac736

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/coderd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ type api struct {
216216
}
217217

218218
func (*api) buildInfo(rw http.ResponseWriter, r *http.Request) {
219+
render.Status(r, http.StatusOK)
219220
render.JSON(rw, r, codersdk.BuildInfoResponse{
220221
Version: buildinfo.Version(),
221222
})

0 commit comments

Comments
 (0)