mirror of
https://github.com/willnorris/imageproxy.git
synced 2025-01-27 23:04:32 -05:00
Respond with 200 on /
This commit is contained in:
parent
50f6f640b2
commit
4932422f35
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue