We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02073ca commit 4aaf778Copy full SHA for 4aaf778
ray2sing/xrayvless.go
@@ -21,7 +21,7 @@ func VlessXray(vlessURL string) (*T.Outbound, error) {
21
// packetEncoding="xudp"
22
// }
23
user := map[string]string{
24
- "id": u.Username, // Change to your UUID.
+ "id": u.Username,
25
"encryption": "none",
26
}
27
if flow := decoded["flow"]; flow != "" {
@@ -33,7 +33,13 @@ func VlessXray(vlessURL string) (*T.Outbound, error) {
33
"protocol": "vless",
34
"settings": map[string]any{
35
"vnext": []any{
36
- user,
+ map[string]any{
37
+ "address": u.Hostname,
38
+ "port": u.Port,
39
+ "users": []any{
40
+ user,
41
+ },
42
43
},
44
45
"tag": u.Name,
0 commit comments