mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
feat: remove alterID in VMess
This commit is contained in:
1 parent
1eafeef243
commit
c14ed99cf6
1 file changed
+1
-2
@@ -178,7 +178,6 @@ func (v *V2Ray) Configuration(info PriorInfo) (c Configuration, err error) {
|
||||
Protocol: v.Protocol,
|
||||
}
|
||||
port, _ := strconv.Atoi(v.Port)
|
||||
aid, _ := strconv.Atoi(v.Aid)
|
||||
switch strings.ToLower(v.Protocol) {
|
||||
case "vmess", "vless":
|
||||
id := v.ID
|
||||
@@ -194,7 +193,7 @@ func (v *V2Ray) Configuration(info PriorInfo) (c Configuration, err error) {
|
||||
Users: []coreObj.User{
|
||||
{
|
||||
ID: id,
|
||||
AlterID: aid,
|
||||
AlterID: 0,
|
||||
Security: "auto",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user