do a location.reload instead of trying to guess what the current url is. Should solve permission denied problem when watching live view and auth times out.
This commit is contained in:
parent
613d885930
commit
592f55a550
|
@ -199,7 +199,7 @@ if ( currentView != 'none' && currentView != 'login' ) {
|
|||
console.log( "Request Failed: " + err );
|
||||
// The idea is that this should only fail due to auth, so reload the page
|
||||
// which should go to login if it can't stay logged in.
|
||||
window.location.href = thisUrl+'?view='+currentView;
|
||||
window.location.reload( true );
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue