We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9562f8 commit 2b375a7Copy full SHA for 2b375a7
lib/Server.js
@@ -1187,8 +1187,7 @@ class Server {
1187
1188
// Proxy WebSocket without the initial http request
1189
// https://github.com/chimurai/http-proxy-middleware#external-websocket-upgrade
1190
- // eslint-disable-next-line func-names
1191
- this.webSocketProxies.forEach(function (webSocketProxy) {
+ this.webSocketProxies.forEach((webSocketProxy) => {
1192
this.server.on("upgrade", webSocketProxy.upgrade);
1193
}, this);
1194
}
0 commit comments