Compare commits
No commits in common. "2ddc5189e3e6c69df84d178ee780e1fdccbfe5f6" and "ea27e65e9f5a8a4050ce86f0036e355266c3642e" have entirely different histories.
2ddc5189e3
...
ea27e65e9f
2 changed files with 6 additions and 8 deletions
|
|
@ -68,9 +68,7 @@ function smartdnsRenderStatus(res) {
|
|||
renderHTML += "<span style=\"color:green;font-weight:bold\">SmartDNS - " + _("RUNNING") + "</span>";
|
||||
|
||||
if (uiEnable === '1') {
|
||||
var protocol = window.location.protocol;
|
||||
var hostname = window.location.hostname;
|
||||
var uiLink = protocol + "//" + hostname + ":" + uiPort;
|
||||
var uiLink = "http://" + window.location.hostname + ":" + uiPort + "/";
|
||||
renderHTML += "  <a class=\"btn cbi-button\" style=\"margin-left: 10px; background-color: black; color: white; border-color: #333;\" href=\"" + uiLink + "\" target=\"_blank\">" + _("Open the WebUI") + "</a>";
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -7,17 +7,17 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=smartdns
|
||||
PKG_VERSION:=1.2025.46.2
|
||||
PKG_RELEASE:=5
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://www.github.com/pymumu/smartdns.git
|
||||
PKG_MIRROR_HASH:=150019a03f1ec2e4b5849740a72badf5ea094d5754bd59dd30119523a3ce9398
|
||||
PKG_SOURCE_VERSION:=ea4ea566fb3624baf361c6fb22c33fed1746782b
|
||||
PKG_MIRROR_HASH:=53566766cef4204e2c25d85f55d7e891e4b723b353c3600e4ae5c9c84b78668d
|
||||
PKG_SOURCE_VERSION:=9e5980ec06cd831283f8e395a27016cbc858e1fb
|
||||
|
||||
SMARTDNS_WEBUI_VERSION:=1.0.0
|
||||
SMAETDNS_WEBUI_SOURCE_PROTO:=git
|
||||
SMARTDNS_WEBUI_SOURCE_URL:=https://github.com/pymumu/smartdns-webui.git
|
||||
SMARTDNS_WEBUI_SOURCE_VERSION:=95f5d622fd014713aa2991190cbb62a2d58024b5
|
||||
SMARTDNS_WEBUI_SOURCE_VERSION:=8950449c67783dfc5f027d62849ba9e284d04254
|
||||
SMARTDNS_WEBUI_FILE:=smartdns-webui-$(SMARTDNS_WEBUI_VERSION).tar.gz
|
||||
|
||||
PKG_MAINTAINER:=Nick Peng <pymumu@gmail.com>
|
||||
|
|
@ -115,7 +115,7 @@ define Download/smartdns-webui
|
|||
FILE:=$(SMARTDNS_WEBUI_FILE)
|
||||
PROTO:=$(SMAETDNS_WEBUI_SOURCE_PROTO)
|
||||
URL:=$(SMARTDNS_WEBUI_SOURCE_URL)
|
||||
MIRROR_HASH:=87830094aab9246debb195c944079e4f8b06f9b2fdbc7a3cdf2934277b6135b3
|
||||
MIRROR_HASH:=400a0d5a9d57f24058261d5c6f64502e389e40aac36bc40f62e68dbd7cb4121a
|
||||
VERSION:=$(SMARTDNS_WEBUI_SOURCE_VERSION)
|
||||
HASH:=$(SMARTDNS_WEBUI_HASH)
|
||||
SUBDIR:=smartdns-webui
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue