mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 23:53:56 +08:00
🏅 Sync 2026-10-25 22:22:42
This commit is contained in:
1 parent
816dd89fe9
commit
53baf91238
134 files changed
+4664
-1277
No files matched your search
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-passwall
|
||||
PKG_VERSION:=26.10.22
|
||||
PKG_RELEASE:=348
|
||||
PKG_RELEASE:=349
|
||||
PKG_PO_VERSION:=$(PKG_VERSION)
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
|
||||
@@ -765,7 +765,7 @@ if has_smartdns then
|
||||
o = s:taboption("log", DummyValue, "_smartdns_ui_link", "WebUI")
|
||||
o.rawhtml = true
|
||||
o.cfgvalue = function(self, section)
|
||||
local port = tonumber(m:get(section, "smartdns_ui_port")) or 9880
|
||||
local port = tonumber((m:get(section, "smartdns_ui_port"))) or 9880
|
||||
if port < 1 or port > 65535 or port % 1 ~= 0 then port = 9880 end
|
||||
return string.format(
|
||||
[[<input class="btn cbi-button cbi-button-apply" type="button" value="%s" onclick="var host = window.location.hostname; if (host.indexOf(':') !== -1 && host.charAt(0) !== '[') host = '[' + host + ']'; window.open('http://' + host + ':%d', '_blank', 'noopener,noreferrer');" />]],
|
||||
|
||||
Reference in new issue
Block a user