diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2018-05-07 22:20:18 +0800 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2018-05-07 22:27:58 +0800 |
commit | b810d99503d394d4a7f210798c2b035eae57d24f (patch) | |
tree | a0f93b4659a13bcbe8ae2caaee32299b84b26901 | |
parent | c1eba6a046dae39558fe96a6e1e7bbe6291e091e (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.html | 2 |
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 43e51236d..f9e882ff3 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 { |