luci-mod-freifunk: fix redirect url
location.hostname lacks port info Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
c1eba6a046
commit
b810d99503
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
if( time_remaining <= 0 )
|
||||
{
|
||||
window.clearInterval(interval);
|
||||
location.href = 'http://' + location.hostname + '/';
|
||||
location.href = 'http://' + location.host + '/';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue