removed - alterId

https://github.com/XTLS/Xray-core/pull/2199
9112cfd39c
This commit is contained in:
MHSanaei
2023-06-13 17:26:50 +03:30
parent b5657ab87d
commit ad9134bc1a
8 changed files with 3 additions and 19 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" {