mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
fix matcher issue
This commit is contained in:
parent
b80d25784a
commit
470d1d58fa
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ func modifyURL(url string, host string, cfg *config.Config) string {
|
||||||
}
|
}
|
||||||
if matched {
|
if matched {
|
||||||
var u = url
|
var u = url
|
||||||
u := strings.TrimPrefix(u, "https://")
|
u = strings.TrimPrefix(u, "https://")
|
||||||
u = strings.TrimPrefix(u, "http://")
|
u = strings.TrimPrefix(u, "http://")
|
||||||
logDump("Modified URL: %s", "https://"+host+"/"+u)
|
logDump("Modified URL: %s", "https://"+host+"/"+u)
|
||||||
return "https://" + host + "/" + u
|
return "https://" + host + "/" + u
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue