mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-11-24 08:52:25 +02:00
Make /ping endpoint respond with "OK"
This commit is contained in:
parent
8702ad2e52
commit
1e29aa1c12
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user