mirror of
https://github.com/traefik/traefik
synced 2026-02-03 11:10:33 +00:00
chore: update linter.
This commit is contained in:
committed by
GitHub
parent
3e60863e2d
commit
230c2e5cc2
@@ -98,7 +98,7 @@ func (c *customErrors) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
|
||||
var query string
|
||||
if len(c.backendQuery) > 0 {
|
||||
query = "/" + strings.TrimPrefix(c.backendQuery, "/")
|
||||
query = strings.Replace(query, "{status}", strconv.Itoa(code), -1)
|
||||
query = strings.ReplaceAll(query, "{status}", strconv.Itoa(code))
|
||||
}
|
||||
|
||||
pageReq, err := newRequest(backendURL + query)
|
||||
|
||||
Reference in New Issue
Block a user