mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fix WebUI reconnect
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
parent
96d79cdef6
commit
6e6d6f5892
@ -27,7 +27,7 @@ var connectionLost = false;
|
||||
var connectionTimer;
|
||||
var count = 1;
|
||||
var reconnectInterval = 4000;
|
||||
var connURL = location.protocol+"//"+location.hostname+":"+window.jsonPort+location.pathname+location.hash;
|
||||
var connURL = window.location.protocol+"//"+window.location.hostname+":"+window.jsonPort+window.location.pathname+window.location.hash;
|
||||
|
||||
function tryReconnect()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user