Make /ping endpoint respond with "OK"

This commit is contained in:
Jason Swank 2014-10-14 17:05:59 -04:00
parent 8702ad2e52
commit 1e29aa1c12

View File

@ -195,7 +195,7 @@ func (p *OauthProxy) SetCookie(rw http.ResponseWriter, req *http.Request, val st
func (p *OauthProxy) PingPage(rw http.ResponseWriter) {
rw.WriteHeader(http.StatusOK)
fmt.Fprintf(rw, "pong")
fmt.Fprintf(rw, "OK")
}
func (p *OauthProxy) ErrorPage(rw http.ResponseWriter, code int, title string, message string) {