From e6254e23f29d1c98173378acf0051b789f595289 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 11 Mar 2024 12:01:08 +0330 Subject: [xray] add dns tag Co-Authored-By: Alireza Ahmadi --- web/html/xui/xray_rule_modal.html | 1 + 1 file changed, 1 insertion(+) (limited to 'web/html/xui/xray_rule_modal.html') diff --git a/web/html/xui/xray_rule_modal.html b/web/html/xui/xray_rule_modal.html index bf4e47a4..d7195c3c 100644 --- a/web/html/xui/xray_rule_modal.html +++ b/web/html/xui/xray_rule_modal.html @@ -195,6 +195,7 @@ this.isEdit = isEdit; this.inboundTags = app.templateSettings.inbounds.filter((i) => !ObjectUtil.isEmpty(i.tag)).map(obj => obj.tag); this.inboundTags.push(...app.inboundTags); + if (app.enableDNS && !ObjectUtil.isEmpty(app.dnsTag)) this.inboundTags.push(app.dnsTag) this.outboundTags = ["", ...app.templateSettings.outbounds.filter((o) => !ObjectUtil.isEmpty(o.tag)).map(obj => obj.tag)]; if(app.templateSettings.reverse){ if(app.templateSettings.reverse.bridges) { -- cgit v1.2.3