|
@@ -408,6 +408,7 @@ o:depends("type", "ssr")
|
|
|
-- [[ Hysteria2 ]]--
|
|
|
o = s:option(Value, "hy2_auth", translate("Users Authentication"))
|
|
|
o:depends("type", "hysteria2")
|
|
|
+o.password = true
|
|
|
o.rmempty = false
|
|
|
|
|
|
o = s:option(Flag, "flag_port_hopping", translate("Enable Port Hopping"))
|
|
@@ -455,6 +456,7 @@ o.placeholder = "salamander"
|
|
|
|
|
|
o = s:option(Value, "salamander", translate("Obfuscation Password"))
|
|
|
o:depends({type = "hysteria2", flag_obfs = "1"})
|
|
|
+o.password = true
|
|
|
o.rmempty = true
|
|
|
o.placeholder = "cry_me_a_r1ver"
|
|
|
|
|
@@ -575,6 +577,7 @@ o.default="auto"
|
|
|
-- [[ TUIC ]]
|
|
|
-- TuicNameId
|
|
|
o = s:option(Value, "tuic_uuid", translate("TUIC User UUID"))
|
|
|
+o.password = true
|
|
|
o.rmempty = true
|
|
|
o.default = uuid
|
|
|
o:depends("type", "tuic")
|
|
@@ -588,6 +591,7 @@ o:depends("type", "tuic")
|
|
|
|
|
|
-- Tuic Password
|
|
|
o = s:option(Value, "tuic_passwd", translate("TUIC User Password"))
|
|
|
+o.password = true
|
|
|
o.rmempty = true
|
|
|
o.default = ""
|
|
|
o:depends("type", "tuic")
|
|
@@ -675,6 +679,7 @@ o:depends({type = "v2ray", v2ray_protocol = "vmess"})
|
|
|
|
|
|
-- VmessId
|
|
|
o = s:option(Value, "vmess_id", translate("Vmess/VLESS ID (UUID)"))
|
|
|
+o.password = true
|
|
|
o.rmempty = true
|
|
|
o.default = uuid
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "vmess"})
|
|
@@ -792,7 +797,7 @@ o:depends("transport", "splithttp")
|
|
|
o.rmempty = true
|
|
|
|
|
|
-- [[ XHTTP部分 ]]--
|
|
|
-o = s:option(ListValue, "xhttp_alpn", translate("XHTTP Alpn"))
|
|
|
+o = s:option(ListValue, "xhttp_alpn", translate("XHTTP ALPN"))
|
|
|
o.default = ""
|
|
|
o:value("", translate("Default"))
|
|
|
o:value("h3")
|
|
@@ -1179,10 +1184,13 @@ o:depends("xtls", true)
|
|
|
o:depends("reality", true)
|
|
|
o.rmempty = true
|
|
|
|
|
|
-o = s:option(DynamicList, "tls_alpn", translate("TLS ALPN"))
|
|
|
+o = s:option(ListValue, "tls_alpn", translate("TLS ALPN"))
|
|
|
+o.default = ""
|
|
|
+o:value("", translate("Default"))
|
|
|
+o:value("h3")
|
|
|
+o:value("spdy/3.1")
|
|
|
+o:value("h3,spdy/3.1")
|
|
|
o:depends("type", "tuic")
|
|
|
-o.default = "h3"
|
|
|
-o.rmempty = true
|
|
|
|
|
|
-- [[ allowInsecure ]]--
|
|
|
o = s:option(Flag, "insecure", translate("allowInsecure"))
|