mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
Add slashes to WebSocket protocol URL (#8116)
This commit is contained in:
committed by
Ian Schmitz
parent
0327d8952a
commit
53a48c40b3
@@ -64,6 +64,7 @@ var connection = new WebSocket(
|
||||
port: window.location.port,
|
||||
// Hardcoded in WebpackDevServer
|
||||
pathname: '/sockjs-node',
|
||||
slashes: true,
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user