summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-aria2
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-aria2')
-rw-r--r--applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm b/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm
index 34b7b3c641..a06d2015ff 100644
--- a/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm
+++ b/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm
@@ -67,7 +67,7 @@ function openWebUI(path) {
var pathName = window.document.location.pathname;
var pos = curWwwPath.indexOf(pathName);
var localhostPath = curWwwPath.substring(0, pos);
- var url = "http:" + localhostPath.substring(window.location.protocol.length) + "/" + path;
+ var url = localhostPath + "/" + path;
window.open(url)
};
//]]>