1
0
mirror of https://github.com/bestnite/sub2sing-box.git synced 2026-06-09 00:12:27 +00:00
This commit is contained in:
2024-03-11 21:00:13 +08:00
parent 665da8fc45
commit daa3ab6867
18 changed files with 80 additions and 100 deletions
+1 -3
View File
@@ -48,15 +48,13 @@ func ParseVless(proxy string) (model.Proxy, error) {
}
server := strings.TrimSpace(serverAndPort[0])
uuid := strings.TrimSpace(parts[0])
network := params.Get("type")
result := model.Proxy{
Type: "vless",
Tag: remarks,
VLESS: model.VLESS{
Tag: remarks,
Server: server,
ServerPort: uint16(port),
UUID: uuid,
Network: network,
Flow: params.Get("flow"),
},
}