summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2018-05-07 22:20:18 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2018-05-07 22:27:58 +0800
commitb810d99503d394d4a7f210798c2b035eae57d24f (patch)
treea0f93b4659a13bcbe8ae2caaee32299b84b26901
parentc1eba6a046dae39558fe96a6e1e7bbe6291e091e (diff)
luci-mod-freifunk: fix redirect url
location.hostname lacks port info Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--modules/luci-mod-freifunk/htdocs/luci-static/flashing.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-freifunk/htdocs/luci-static/flashing.html b/modules/luci-mod-freifunk/htdocs/luci-static/flashing.html
index 43e51236d7..f9e882ff30 100644
--- a/modules/luci-mod-freifunk/htdocs/luci-static/flashing.html
+++ b/modules/luci-mod-freifunk/htdocs/luci-static/flashing.html
@@ -45,7 +45,7 @@
if( time_remaining <= 0 )
{
window.clearInterval(interval);
- location.href = 'http://' + location.hostname + '/';
+ location.href = 'http://' + location.host + '/';
}
else
{