From 1b93c7c0f21be884ea8aed203607765784597c04 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 16 May 2023 20:21:59 +0200 Subject: [PATCH] Correction: freedom strategies --- web/html/xui/settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index cb8939a1..f517d64e 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -507,7 +507,7 @@ freedomStrategy: { get: function () { if (!this.templateSettings) return "AsIs"; - freedomOutbound = this.templateSettings.outbounds.find((o) => o.tag === "direct"); + freedomOutbound = this.templateSettings.outbounds.find((o) => o.protocol === "freedom" && !o.tag); if (!freedomOutbound) return "AsIs"; if (!freedomOutbound.settings || !freedomOutbound.settings.domainStrategy) return "AsIs"; return freedomOutbound.settings.domainStrategy;