Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit c9be7ca

Browse files
authored
Merge pull request #93 from netlify/fix-ws-proxying
Fix websocket proxying
2 parents 98482d7 + 8216fca commit c9be7ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/dev/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ function initializeProxy(port) {
7979
req.proxyOptions = options;
8080
req.alternativePaths = alternativePathsFor(req.url);
8181
return proxy.web(req, res, options);
82-
}
82+
},
83+
ws: (req, socket, head) => proxy.ws(req, socket, head)
8384
};
8485
}
8586

0 commit comments

Comments
 (0)