Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/service')
-rw-r--r--web/service/xray.go3
1 files changed, 3 insertions, 0 deletions
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))
}