mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-21 18:38:17 +00:00
[real-time] retire legacy transports on the server-side as well (#23983)
GitOrigin-RevId: 27dad39e889a5df46943c4f393277be16ab8ffdd
This commit is contained in:
parent
195a12a3dc
commit
dddb091d77
1 changed files with 1 additions and 10 deletions
|
@ -82,16 +82,7 @@ io.configure(function () {
|
|||
// See http://answers.dotcloud.com/question/578/problem-with-websocket-over-ssl-in-safari-with
|
||||
io.set('match origin protocol', true)
|
||||
|
||||
// gzip uses a Node 0.8.x method of calling the gzip program which
|
||||
// doesn't work with 0.6.x
|
||||
// io.enable('browser client gzip')
|
||||
io.set('transports', [
|
||||
'websocket',
|
||||
'flashsocket',
|
||||
'htmlfile',
|
||||
'xhr-polling',
|
||||
'jsonp-polling',
|
||||
])
|
||||
io.set('transports', ['websocket', 'xhr-polling'])
|
||||
})
|
||||
|
||||
// Serve socket.io.js client file from imported dist folder
|
||||
|
|
Loading…
Add table
Reference in a new issue