From ade4d68c0df3f9d5d14f4b3840a60f092901c4e5 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 23 May 2022 15:12:59 -0700 Subject: [PATCH] Return explicit http 200 --- controllers/ping.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/ping.go b/controllers/ping.go index ae78c48ce..07d46552a 100644 --- a/controllers/ping.go +++ b/controllers/ping.go @@ -11,4 +11,5 @@ import ( func Ping(w http.ResponseWriter, r *http.Request) { viewer := models.GenerateViewerFromRequest(r) core.SetViewerActive(&viewer) + w.WriteHeader(http.StatusOK) }