mirror of
https://github.com/alireza0/s-ui.git
synced 2026-08-04 15:28:45 +00:00
Fix hy2 mport parsing compatibility
This commit is contained in:
parent
1ef0ffa60e
commit
ae4581d17b
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ func hy2(u *url.URL, i int) (*map[string]interface{}, string, error) {
|
|||
down, _ := strconv.Atoi(query.Get("downmbps"))
|
||||
up, _ := strconv.Atoi(query.Get("upmbps"))
|
||||
obfs := query.Get("obfs")
|
||||
mport := query.Get("mport")
|
||||
mport := strings.ReplaceAll(query.Get("mport"), "-", ":")
|
||||
fastopen := query.Get("fastopen")
|
||||
if down > 0 {
|
||||
hy2["down_mbps"] = down
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue