mirror of
https://github.com/TeamPiped/http3-ytproxy.git
synced 2024-08-14 23:56:43 +00:00
remove debug print
This commit is contained in:
parent
c485587c5c
commit
53486a474c
1 changed files with 0 additions and 6 deletions
6
main.go
6
main.go
|
@ -130,17 +130,11 @@ func (*requesthandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
|||
proxyURL.Path = getBestThumbnail(proxyURL.EscapedPath())
|
||||
}
|
||||
|
||||
fmt.Println(proxyURL.String())
|
||||
|
||||
request, err := http.NewRequest(req.Method, proxyURL.String(), nil)
|
||||
|
||||
copyHeaders(req.Header, request.Header)
|
||||
request.Header.Set("User-Agent", ua)
|
||||
|
||||
for name, value := range request.Header {
|
||||
fmt.Printf("%s: %s\n", name, value)
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue