diff options
Diffstat (limited to 'web')
| -rw-r--r-- | web/html/xui/inbounds.html | 2 | ||||
| -rw-r--r-- | web/service/xray.go | 3 | ||||
| -rw-r--r-- | web/translation/translate.en_US.toml | 1 | ||||
| -rw-r--r-- | web/translation/translate.fa_IR.toml | 1 | ||||
| -rw-r--r-- | web/translation/translate.zh_Hans.toml | 1 |
5 files changed, 7 insertions, 1 deletions
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 275b1468..c4e44c45 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -68,7 +68,7 @@ <div slot="title"> <a-button type="primary" icon="plus" @click="openAddInbound">{{ i18n "pages.inbounds.addInbound" }}</a-button> <a-dropdown :trigger="['click']"> - <a-button type="primary" icon="menu">General Actions</a-button> + <a-button type="primary" icon="menu">{{ i18n "pages.inbounds.generalActions" }}</a-button> <a-menu slot="overlay" @click="a => generalActions(a)" :theme="siderDrawer.theme"> <a-menu-item key="export"> <a-icon type="export"></a-icon> 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)) } diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml index 0577b708..d20a0157 100644 --- a/web/translation/translate.en_US.toml +++ b/web/translation/translate.en_US.toml @@ -107,6 +107,7 @@ "expireDate" = "Expire date" "resetTraffic" = "Reset traffic" "addInbound" = "Add Inbound" +"generalActions" = "General Actions" "addTo" = "Create" "revise" = "Update" "modifyInbound" = "Modify InBound" diff --git a/web/translation/translate.fa_IR.toml b/web/translation/translate.fa_IR.toml index a00ced7e..a1341d35 100644 --- a/web/translation/translate.fa_IR.toml +++ b/web/translation/translate.fa_IR.toml @@ -107,6 +107,7 @@ "expireDate" = "تاریخ انقضا" "resetTraffic" = "ریست ترافیک" "addInbound" = "اضافه کردن سرویس" +"generalActions" = "عملیات کلی" "addTo" = "اضافه کردن" "revise" = "ویرایش" "modifyInbound" = "ویرایش سرویس" diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml index 3e189324..0453c560 100644 --- a/web/translation/translate.zh_Hans.toml +++ b/web/translation/translate.zh_Hans.toml @@ -107,6 +107,7 @@ "expireDate" = "到期时间" "resetTraffic" = "重置流量" "addInbound" = "添加入" +"generalActions" = "通用操作" "addTo" = "添加" "revise" = "修改" "modifyInbound" = "修改入站" |
