Update Connection manager to clean url history of navigator
This commit is contained in:
parent
61b8d584af
commit
bbc2ac2550
1 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,8 @@ class ConnectionManager {
|
|||
analyticsClient.identifyUser(this.localUser.uuid, this.localUser.email);
|
||||
}
|
||||
|
||||
//clean history with new URL
|
||||
window.history.pushState({}, document.title, window.location.pathname);
|
||||
this.serviceWorker = new _ServiceWorker();
|
||||
return Promise.resolve(this._currentRoom);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue