Skip to content

Commit

Permalink
luci: 1.31
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaorouji committed Aug 27, 2024
1 parent 6fefad6 commit 8cbc6b9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ body:
label: 系统相关信息
description: 填写相关信息以便更好的确定问题
placeholder: |
- Passwall版本
- Passwall2版本
- 浏览器版本(如Chrome 96.0.4664.45 64位 正式版):
- 其他:
validations:
Expand Down
2 changes: 1 addition & 1 deletion luci-app-passwall2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=luci-app-passwall2
PKG_VERSION:=1.30-3
PKG_VERSION:=1.31-1
PKG_RELEASE:=

PKG_CONFIG_DEPENDS:= \
Expand Down
4 changes: 2 additions & 2 deletions luci-app-passwall2/luasrc/controller/passwall2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ function index()
entry({"admin", "services", appname, "hide"}, call("hide_menu")).leaf = true
local e
if uci:get(appname, "@global[0]", "hide_from_luci") ~= "1" then
e = entry({"admin", "services", appname}, alias("admin", "services", appname, "settings"), _("PassWall 2"), -1)
e = entry({"admin", "services", appname}, alias("admin", "services", appname, "settings"), _("PassWall 2"), 0)
else
e = entry({"admin", "services", appname}, alias("admin", "services", appname, "settings"), nil, -1)
e = entry({"admin", "services", appname}, alias("admin", "services", appname, "settings"), nil, 0)
end
e.dependent = true
e.acl_depends = { "luci-app-passwall2" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,6 @@ for k, v in pairs(nodes_table) do
s.fields["remote_dns_client_ip"]:depends({ node = v.id, remote_dns_protocol = "tcp" })
s.fields["remote_dns_client_ip"]:depends({ node = v.id, remote_dns_protocol = "doh" })
s.fields["dns_hosts"]:depends({ node = v.id })
elseif v.type == "sing-box" then
s.fields["direct_dns_query_strategy"]:depends({ node = v.id })
end
end

Expand Down

0 comments on commit 8cbc6b9

Please sign in to comment.