Merge pull request #2718 from overleaf/jpa-custom-wsurl-for-beta-users

[frontend] ConnectionManager: fix dumb string concat in socket.io v0

GitOrigin-RevId: a1c472623e07b020e498d621e9f3241f8afc44f6
This commit is contained in:
Jakob Ackermann 2020-04-02 12:58:02 +02:00 committed by Copybot
parent 155b22caf9
commit d6fa1b1ca3

View file

@ -105,7 +105,7 @@ define([], function() {
this.ide.socket = io.connect( this.ide.socket = io.connect(
parsedURL.origin, parsedURL.origin,
{ {
resource: parsedURL.pathname, resource: parsedURL.pathname.slice(1),
reconnect: false, reconnect: false,
'connect timeout': 30 * 1000, 'connect timeout': 30 * 1000,
'force new connection': true 'force new connection': true