From 88dafa6cdf6fbd13c2ea842ee403330a043ce8ff Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 20 Apr 2026 19:09:45 +0200 Subject: XDNS finalmask: Support resolvers (client) and domains (server) Treat the xdns mask type as a multi-value setting and update forms accordingly. Inbound/outbound UdpMask models now return arrays for xdns (inbound: settings.domains, outbound: settings.resolvers) using Array.isArray checks. UI templates were split so 'header-dns' still uses a single domain string, while 'xdns' renders a tags-style for multiple entries (domains/resolvers). Conditionals were made explicit (mask.type === ...) instead of using includes(). Changed files: web/assets/js/model/inbound.js, web/assets/js/model/outbound.js, web/html/form/outbound.html, web/html/form/stream/stream_finalmask.html. --- web/html/form/outbound.html | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'web/html/form/outbound.html') diff --git a/web/html/form/outbound.html b/web/html/form/outbound.html index f4cb6467..7bac266f 100644 --- a/web/html/form/outbound.html +++ b/web/html/form/outbound.html @@ -886,15 +886,23 @@ placeholder="Obfuscation password" > - + +