mirror of
https://github.com/TeamPiped/http3-ytproxy.git
synced 2024-08-14 23:56:43 +00:00
remove debug
This commit is contained in:
parent
387734027c
commit
ada55f0d2e
1 changed files with 0 additions and 2 deletions
2
main.go
2
main.go
|
@ -115,7 +115,6 @@ func (*requesthandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
path := req.URL.EscapedPath()
|
path := req.URL.EscapedPath()
|
||||||
fmt.Println(path)
|
|
||||||
|
|
||||||
path = strings.Replace(path, path_prefix, "", 1)
|
path = strings.Replace(path, path_prefix, "", 1)
|
||||||
|
|
||||||
|
@ -129,7 +128,6 @@ func (*requesthandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
proxyURL.RawQuery = q.Encode()
|
proxyURL.RawQuery = q.Encode()
|
||||||
fmt.Println(q.Encode())
|
|
||||||
|
|
||||||
if strings.HasSuffix(proxyURL.EscapedPath(), "maxres.jpg") {
|
if strings.HasSuffix(proxyURL.EscapedPath(), "maxres.jpg") {
|
||||||
proxyURL.Path = getBestThumbnail(proxyURL.EscapedPath())
|
proxyURL.Path = getBestThumbnail(proxyURL.EscapedPath())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue