mirror of https://github.com/fatedier/frp.git
utils/conn: typo
This commit is contained in:
parent
3d5c3acee0
commit
46ee2f2bc8
|
@ -143,7 +143,7 @@ func ConnectServerByHttpProxy(httpProxy string, serverAddr string) (c *Conn, err
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
req, err := http.NewRequest("CONNECT", "https://"+serverAddr, nil)
|
req, err := http.NewRequest("CONNECT", "http://"+serverAddr, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue