Skip to content

Commit 53a48c4

Browse files
Baaelianschmitz
authored andcommitted
Add slashes to WebSocket protocol URL (facebook#8116)
1 parent 0327d89 commit 53a48c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-dev-utils/webpackHotDevClient.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ var connection = new WebSocket(
6464
port: window.location.port,
6565
// Hardcoded in WebpackDevServer
6666
pathname: '/sockjs-node',
67+
slashes: true,
6768
})
6869
);
6970

0 commit comments

Comments
 (0)