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:
Isaac Connor 2018-10-01 10:39:00 -04:00
parent 613d885930
commit 592f55a550
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
});
}