Return explicit http 200
This commit is contained in:
parent
677bd9efe3
commit
ade4d68c0d
@ -11,4 +11,5 @@ import (
|
|||||||
func Ping(w http.ResponseWriter, r *http.Request) {
|
func Ping(w http.ResponseWriter, r *http.Request) {
|
||||||
viewer := models.GenerateViewerFromRequest(r)
|
viewer := models.GenerateViewerFromRequest(r)
|
||||||
core.SetViewerActive(&viewer)
|
core.SetViewerActive(&viewer)
|
||||||
|
w.WriteHeader(http.StatusOK)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user