diff --git a/web/service/xray.go b/web/service/xray.go index 6008a493..bcc886fe 100644 --- a/web/service/xray.go +++ b/web/service/xray.go @@ -118,6 +118,9 @@ func (s *XrayService) GetXrayConfig() (*xray.Config, error) { if key != "email" && key != "id" && key != "password" && key != "flow" && key != "alterId" { delete(c, key) } + if c["flow"] == "xtls-rprx-vision-udp443" { + c["flow"] = "xtls-rprx-vision" + } } final_clients = append(final_clients, interface{}(c)) }