git.iko.soy/typeable/oauth2-proxy
on master help sign in
Make /ping endpoint respond with "OK"
commit1e29aa1c122fe01bb9436d7ffa6bdd17d5fb8357 authorJason Swank <jswank@sonatype.com> dateTue 14 Oct 2014, 17:05 (12 years ago) parent8702ad2
1 file changed+1−1
oauthproxy.go+1−1
oauthproxy.go+1−1
@@ -195,7 +195,7 @@ func (p *OauthProxy) SetCookie(rw http.ResponseWriter, req *http.Request, val st
195195
196196func (p *OauthProxy) PingPage(rw http.ResponseWriter) {
197197 rw.WriteHeader(http.StatusOK)
198− fmt.Fprintf(rw, "pong")
198+ fmt.Fprintf(rw, "OK")
199199}
200200
201201func (p *OauthProxy) ErrorPage(rw http.ResponseWriter, code int, title string, message string) {