mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 18:51:30 +00:00
Update hybi-16 patch to work with socket.io 0.9.19
This commit is contained in:
parent
ef852dfa33
commit
c7e2b99a7b
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if(process.versions.node.split('.')[0] >= 7) {
|
|||
|
||||
var io = require("socket.io");
|
||||
|
||||
if (io.version === "0.9.16") {
|
||||
if (io.version === "0.9.16" || io.version === "0.9.19") {
|
||||
console.log("patching socket.io hybi-16 transport frame prototype");
|
||||
var transports = require("socket.io/lib/transports/websocket/hybi-16.js");
|
||||
transports.prototype.frame = patchedFrameHandler;
|
||||
|
|
Loading…
Reference in a new issue