diff --git a/services/web/public/coffee/ide/connection/ConnectionManager.coffee b/services/web/public/coffee/ide/connection/ConnectionManager.coffee index 97530b8e4e..811587e5ad 100644 --- a/services/web/public/coffee/ide/connection/ConnectionManager.coffee +++ b/services/web/public/coffee/ide/connection/ConnectionManager.coffee @@ -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() \ No newline at end of file