Skip to content

Commit 6b71687

Browse files
fix: linter
1 parent daef9c3 commit 6b71687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func (p *Server) forwardRequest(conn net.Conn, req *http.Request, https bool) {
270270
Path: req.URL.Path,
271271
RawQuery: req.URL.RawQuery,
272272
}
273-
var body io.ReadCloser = req.Body
273+
var body = req.Body
274274
if req.Method == http.MethodGet || req.Method == http.MethodHead {
275275
body = nil
276276
}

0 commit comments

Comments
 (0)