mirror of
https://github.com/traefik/traefik
synced 2026-02-03 10:00:33 +00:00
Fix multiple response.WriteHeader calls
Signed-off-by: Emile Vauge <emile@vauge.com>
This commit is contained in:
@@ -17,6 +17,7 @@ func (s *StripPrefix) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
r.URL.Path = p
|
||||
r.RequestURI = r.URL.RequestURI()
|
||||
s.Handler.ServeHTTP(w, r)
|
||||
return
|
||||
}
|
||||
}
|
||||
http.NotFound(w, r)
|
||||
|
||||
Reference in New Issue
Block a user