From b810d99503d394d4a7f210798c2b035eae57d24f Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Mon, 7 May 2018 22:20:18 +0800 Subject: [PATCH] luci-mod-freifunk: fix redirect url location.hostname lacks port info Signed-off-by: Yousong Zhou --- modules/luci-mod-freifunk/htdocs/luci-static/flashing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2