remove vmess alterId

This commit is contained in:
Alireza Ahmadi
2023-06-20 12:27:01 +02:00
parent 76346299d6
commit fe29c48d89
12 changed files with 3 additions and 32 deletions

View File

@@ -116,7 +116,7 @@ func (s *XrayService) GetXrayConfig() (*xray.Config, error) {
}
}
for key := range c {
if key != "email" && key != "id" && key != "password" && key != "flow" && key != "alterId" {
if key != "email" && key != "id" && key != "password" && key != "flow" {
delete(c, key)
}
if c["flow"] == "xtls-rprx-vision-udp443" {