mirror of
https://github.com/Alexey71/opera-proxy.git
synced 2026-05-13 14:11:00 +00:00
supply refreshed device password to proxy
This commit is contained in:
@@ -252,9 +252,8 @@ func run() int {
|
|||||||
}
|
}
|
||||||
|
|
||||||
endpoint := ips[0]
|
endpoint := ips[0]
|
||||||
authHdr := basic_auth_header(seclient.GetProxyCredentials())
|
|
||||||
auth := func() string {
|
auth := func() string {
|
||||||
return authHdr
|
return basic_auth_header(seclient.GetProxyCredentials())
|
||||||
}
|
}
|
||||||
|
|
||||||
handlerDialer := NewProxyDialer(endpoint.NetAddr(), fmt.Sprintf("%s0.%s", args.country, PROXY_SUFFIX), auth, dialer)
|
handlerDialer := NewProxyDialer(endpoint.NetAddr(), fmt.Sprintf("%s0.%s", args.country, PROXY_SUFFIX), auth, dialer)
|
||||||
|
|||||||
Reference in New Issue
Block a user