diff --git a/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js b/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js
index b359947..bea0372 100644
--- a/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js
+++ b/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js
@@ -68,7 +68,9 @@ function smartdnsRenderStatus(res) {
renderHTML += "SmartDNS - " + _("RUNNING") + "";
if (uiEnable === '1') {
- var uiLink = "http://" + window.location.hostname + ":" + uiPort + "/";
+ var protocol = window.location.protocol;
+ var hostname = window.location.hostname;
+ var uiLink = protocol + "//" + hostname + ":" + uiPort;
renderHTML += " " + _("Open the WebUI") + "";
}
} else {
diff --git a/smartdns/Makefile b/smartdns/Makefile
index 84c6336..d87aebe 100644
--- a/smartdns/Makefile
+++ b/smartdns/Makefile
@@ -7,17 +7,17 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=smartdns
PKG_VERSION:=1.2025.46.2
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://www.github.com/pymumu/smartdns.git
-PKG_MIRROR_HASH:=53566766cef4204e2c25d85f55d7e891e4b723b353c3600e4ae5c9c84b78668d
-PKG_SOURCE_VERSION:=9e5980ec06cd831283f8e395a27016cbc858e1fb
+PKG_MIRROR_HASH:=150019a03f1ec2e4b5849740a72badf5ea094d5754bd59dd30119523a3ce9398
+PKG_SOURCE_VERSION:=ea4ea566fb3624baf361c6fb22c33fed1746782b
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:=8950449c67783dfc5f027d62849ba9e284d04254
+SMARTDNS_WEBUI_SOURCE_VERSION:=95f5d622fd014713aa2991190cbb62a2d58024b5
SMARTDNS_WEBUI_FILE:=smartdns-webui-$(SMARTDNS_WEBUI_VERSION).tar.gz
PKG_MAINTAINER:=Nick Peng
@@ -115,7 +115,7 @@ define Download/smartdns-webui
FILE:=$(SMARTDNS_WEBUI_FILE)
PROTO:=$(SMAETDNS_WEBUI_SOURCE_PROTO)
URL:=$(SMARTDNS_WEBUI_SOURCE_URL)
- MIRROR_HASH:=400a0d5a9d57f24058261d5c6f64502e389e40aac36bc40f62e68dbd7cb4121a
+ MIRROR_HASH:=87830094aab9246debb195c944079e4f8b06f9b2fdbc7a3cdf2934277b6135b3
VERSION:=$(SMARTDNS_WEBUI_SOURCE_VERSION)
HASH:=$(SMARTDNS_WEBUI_HASH)
SUBDIR:=smartdns-webui