update 2026-08-14 04:36:07

This commit is contained in:
action committed 2026-08-14 04:36:07 +08:00
1 parent e716bb6996
commit 5ce413d3a3
74 files changed
+693 -819

No files matched your search

@@ -1,18 +1,18 @@
<%
local api = self.api
local appname = api.appname
local map = self.map
local api = map.api
local appname = map.config
local default_node_type = ""
local shunt_rule_list = {}
local node = api.uci_get_type("global", "node")
local node = map:get("@global[0]", "node")
if node then
local node_type = api.uci_get_type_id(node, "type")
local node_protocol = api.uci_get_type_id(node, "protocol")
local node_type = map:get(node, "type")
local node_protocol = map:get(node, "protocol")
if (node_type == "Xray" or node_type == "sing-box") and node_protocol == "_shunt" then
default_node_type = node_protocol
local node_shunt_group = api.uci_get_type_id(node, "shunt_group")
map.uci:foreach(appname, "shunt_rules", function(e)
local node_shunt_group = map:get(node, "shunt_group")
map:foreach("shunt_rules", function(e)
if e[".name"] and e.remarks and e.group == node_shunt_group then
shunt_rule_list[#shunt_rule_list + 1] = e
end
@@ -431,8 +431,8 @@ table td, .table .td {
<script type="text/javascript">
//<![CDATA[
let auto_detection_time = "<%=api.uci_get_type("global_other", "auto_detection_time", "0")%>"
let show_node_info = "<%=api.uci_get_type("global_other", "show_node_info", "0")%>"
let auto_detection_time = "<%=map:get("@global_other[0]", "auto_detection_time") or "0"%>"
let show_node_info = "<%=map:get("@global_other[0]", "show_node_info") or "0"%>"
var ajax = {
list: [],