Remove old proxy backwards compatibility
(cherry picked from commit d2ff8f8720
)
This commit is contained in:
parent
3eab81fdea
commit
12c28641ab
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ func Check(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
data, _ := json.MarshalIndent(rsp, "", " ")
|
data, _ := json.MarshalIndent(rsp, "", " ")
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
w.Header().Set("Cache-Control", "no-store, no-cache, max-age=0, must-revalidate, proxy-revalidate")
|
w.Header().Set("Cache-Control", "no-store")
|
||||||
w.WriteHeader(rsp.Status.ToHTTPStatus())
|
w.WriteHeader(rsp.Status.ToHTTPStatus())
|
||||||
_, _ = w.Write(data)
|
_, _ = w.Write(data)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue