mirror of
https://github.com/willnorris/imageproxy.git
synced 2025-02-03 23:10:17 -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
|
return // ignore favicon requests
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if r.URL.Path == "/" {
|
||||||
|
fmt.Fprint(w, "OK")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if r.URL.Path == "/health-check" {
|
if r.URL.Path == "/health-check" {
|
||||||
fmt.Fprint(w, "OK")
|
fmt.Fprint(w, "OK")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue