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:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-04-25 21:13:29 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-04-25 21:13:29 +0300
commit9f5ba0cf93b5fe19ecd7ad514591dbc446a3bb90 (patch)
tree6792c41117a181b1f904219c02cf9ebd1074d6d1 /web/service
parentb5c553950111a7b5634fd46bdae6e5985ed498df (diff)
[bug] vision-udp443 only for client + Translation
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
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))
}