diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index 36d5abd6..b82890f6 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -357,6 +357,10 @@ + + + {{ i18n "pages.xray.rules.first"}} + {{ i18n "edit" }} @@ -765,6 +769,11 @@ outbounds.splice(index,1); this.outboundSettings = JSON.stringify(outbounds); }, + setFirstOutbound(index){ + outbounds = this.templateSettings.outbounds; + outbounds.splice(0, 0, outbounds.splice(index, 1)[0]); + this.outboundSettings = JSON.stringify(outbounds); + }, addReverse(){ reverseModal.show({ title: '{{ i18n "pages.xray.outbound.addReverse"}}',