mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-11 16:35:21 +00:00
Clear SERVERID cookie when reconnecting gracefully
This commit is contained in:
parent
52754e038a
commit
43aeb5a21d
1 changed files with 2 additions and 0 deletions
|
@ -204,4 +204,6 @@ define [], () ->
|
|||
_reconnectGracefullyNow: () ->
|
||||
@gracefullyReconnecting = true
|
||||
@reconnectGracefullyStarted = null
|
||||
# Clear cookie so we don't go to the same backend server
|
||||
$.cookie("SERVERID", "", { expires: -1, path: "/" })
|
||||
@reconnectImmediately()
|
Loading…
Add table
Reference in a new issue