mirror of
https://github.com/Snawoot/opera-proxy.git
synced 2025-09-02 18:51:08 +00:00
supply refreshed device password to proxy
This commit is contained in:
parent
aa8c1f5366
commit
0d32dc273f
1 changed files with 1 additions and 2 deletions
3
main.go
3
main.go
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue