Browse Source

Return explicit http 200

pull/1924/head
Gabe Kangas 3 years ago
parent
commit
ade4d68c0d
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 1
      controllers/ping.go

1
controllers/ping.go

@ -11,4 +11,5 @@ import ( @@ -11,4 +11,5 @@ import (
func Ping(w http.ResponseWriter, r *http.Request) {
viewer := models.GenerateViewerFromRequest(r)
core.SetViewerActive(&viewer)
w.WriteHeader(http.StatusOK)
}

Loading…
Cancel
Save