From: Yousong Zhou Date: Mon, 7 May 2018 14:20:18 +0000 (+0800) Subject: luci-mod-freifunk: fix redirect url X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b810d99503d394d4a7f210798c2b035eae57d24f;p=oweals%2Fluci.git luci-mod-freifunk: fix redirect url location.hostname lacks port info Signed-off-by: Yousong Zhou --- 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 {