Skip to content

Commit

Permalink
chore: remove eslint ignore comment (#4002)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Nov 3, 2021
1 parent d9562f8 commit 2b375a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Server.js
Expand Up @@ -1187,8 +1187,7 @@ class Server {

// Proxy WebSocket without the initial http request
// https://github.com/chimurai/http-proxy-middleware#external-websocket-upgrade
// eslint-disable-next-line func-names
this.webSocketProxies.forEach(function (webSocketProxy) {
this.webSocketProxies.forEach((webSocketProxy) => {
this.server.on("upgrade", webSocketProxy.upgrade);
}, this);
}
Expand Down

0 comments on commit 2b375a7

Please sign in to comment.