mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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: () ->
|
_reconnectGracefullyNow: () ->
|
||||||
@gracefullyReconnecting = true
|
@gracefullyReconnecting = true
|
||||||
@reconnectGracefullyStarted = null
|
@reconnectGracefullyStarted = null
|
||||||
|
# Clear cookie so we don't go to the same backend server
|
||||||
|
$.cookie("SERVERID", "", { expires: -1, path: "/" })
|
||||||
@reconnectImmediately()
|
@reconnectImmediately()
|
Loading…
Reference in a new issue