From 4932422f35ab2e6affbac411774958badfa527a0 Mon Sep 17 00:00:00 2001 From: Alex Plugaru Date: Wed, 7 Jun 2017 17:51:25 -0700 Subject: [PATCH] Respond with 200 on / --- imageproxy.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/imageproxy.go b/imageproxy.go index 4fb65b5..7cae39a 100644 --- a/imageproxy.go +++ b/imageproxy.go @@ -99,6 +99,11 @@ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { return // ignore favicon requests } + if r.URL.Path == "/" { + fmt.Fprint(w, "OK") + return + } + if r.URL.Path == "/health-check" { fmt.Fprint(w, "OK") return