mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 03:57:14 +00:00
When someone set any wss server and do login VC doesn't record the settings on localStorage, so when we reload the browser, it will try to connect on "wss://" + window.location.hostname + ":8082" and if this wss server is offline for any reason, user will be stuck on splash screen by auto-login step plus reconnect modal blocking any action. - Added button "Change Server" on modal reconnection alert; - Stop jsonRpcClient retry timeout and delete verto instance to create a new one when user login with new wss server; - Record wss server and hostname on localStorage.
10 lines
253 B
HTML
10 lines
253 B
HTML
<div class="modal-header">
|
|
<h3 class="modal-title">Waiting for server reconnection.</h3>
|
|
</div>
|
|
<div class="modal-body">
|
|
<a href="#/login" ng-click="closeReconnect()" class="btn btn-success">Change Server</a>
|
|
</div>
|
|
<div class="modal-footer">
|
|
</div>
|
|
|