diff --git a/luci-app-passwall/luasrc/view/passwall/node_list/link_share_man.htm b/luci-app-passwall/luasrc/view/passwall/node_list/link_share_man.htm index 89eced5b8..7c454aff2 100644 --- a/luci-app-passwall/luasrc/view/passwall/node_list/link_share_man.htm +++ b/luci-app-passwall/luasrc/view/passwall/node_list/link_share_man.htm @@ -1,12 +1,24 @@ <%+cbi/valueheader%> <% local api = require "luci.passwall.api" +local appname = 'passwall' +local uci = api.libuci +local ss_type = uci:get(appname, "@global_subscribe[0]", "ss_type") or "shadowsocks-libev" +local trojan_type = uci:get(appname, "@global_subscribe[0]", "trojan_type") or "trojan-plus" +local vmess_type = uci:get(appname, "@global_subscribe[0]", "vmess_type") or "xray" +local vless_type = uci:get(appname, "@global_subscribe[0]", "vless_type") or "xray" +local hysteria2_type = uci:get(appname, "@global_subscribe[0]", "hysteria2_type") or "hysteria2" -%>