mirror of
https://github.com/Snawoot/hola-proxy.git
synced 2026-04-04 21:28:17 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45c6521777 | ||
|
|
db109ce9ad | ||
|
|
16192a36ba | ||
|
|
d75ab999c8 |
@@ -1,5 +1,5 @@
|
||||
name: hola-proxy
|
||||
version: '1.1.2'
|
||||
version: '1.2.1'
|
||||
summary: Standalone Hola proxy client.
|
||||
description: |
|
||||
Standalone Hola proxy client. Just run it and it'll start plain HTTP proxy server forwarding traffic via Hola proxies of your choice.
|
||||
|
||||
4
utils.go
4
utils.go
@@ -104,13 +104,13 @@ func get_endpoint(tunnels *ZGetTunnelsResponse, typ string, trial bool) (string,
|
||||
return "", errors.New("No tunnels found in API response")
|
||||
}
|
||||
var port uint16
|
||||
if typ == "direct" {
|
||||
if typ == "direct" || typ == "lum" {
|
||||
if trial {
|
||||
port = tunnels.Port.Trial
|
||||
} else {
|
||||
port = tunnels.Port.Direct
|
||||
}
|
||||
} else if typ == "peer" || typ == "lum" {
|
||||
} else if typ == "peer" {
|
||||
if trial {
|
||||
port = tunnels.Port.TrialPeer
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user