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

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"),
},
}