From 690b84f1a2e79c5926c687eabb6ad07e55b2c95d Mon Sep 17 00:00:00 2001 From: Gzxhwq Date: Fri, 3 Feb 2023 01:18:33 +0800 Subject: [PATCH] luci: add more fingerprints to xray (#2264) --- .../luasrc/model/cbi/passwall/client/node_config.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/client/node_config.lua b/luci-app-passwall/luasrc/model/cbi/passwall/client/node_config.lua index ed20a0353..7d431fe8e 100644 --- a/luci-app-passwall/luasrc/model/cbi/passwall/client/node_config.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/client/node_config.lua @@ -578,11 +578,17 @@ tls_allowInsecure.default = "0" tls_allowInsecure:depends("tls", true) tls_allowInsecure:depends("type", "Hysteria") -xray_fingerprint = s:option(ListValue, "xray_fingerprint", translate("Finger Print")) +xray_fingerprint = s:option(Value, "xray_fingerprint", translate("Finger Print")) xray_fingerprint:value("disable", translate("Disable")) xray_fingerprint:value("chrome") xray_fingerprint:value("firefox") xray_fingerprint:value("safari") +xray_fingerprint:value("ios") +xray_fingerprint:value("android") +xray_fingerprint:value("edge") +xray_fingerprint:value("360") +xray_fingerprint:value("qq") +xray_fingerprint:value("random") xray_fingerprint:value("randomized") xray_fingerprint.default = "disable" xray_fingerprint:depends({ type = "Xray", tls = true, xtls = false })