Skip to content

Commit bbc7510

Browse files
Removing variable declaration (left over)
1 parent c29786d commit bbc7510

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ func newProxy(redirURL string, yGen, tGen uint64, printGC bool) http.HandlerFunc
219219
}
220220
t := newTransport(target.String(), yGen, tGen, printGC)
221221
return func(w http.ResponseWriter, req *http.Request) {
222-
oldURL := req.URL.String()
223222
req.URL.Scheme = target.Scheme
224223
req.URL.Host = target.Host
225224
if _, ok := req.Header["User-Agent"]; !ok {

0 commit comments

Comments
 (0)