File tree 2 files changed +2
-2
lines changed
packages/react-scripts/config
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ function getClientEnvironment(publicUrl) {
89
89
// This lets a developer run multiple simultaneous projects.
90
90
// It is used as the connection `pathname` in webpackHotDevClient.
91
91
// It is used as the `sockPath` option in webpack dev server.
92
- WDS_SOCKET_PATH : process . env . WDS_SOCKET_PATH || '/sockjs-node' ,
92
+ WDS_SOCKET_PATH : process . env . WDS_SOCKET_PATH ,
93
93
}
94
94
) ;
95
95
// Stringify all values so we can feed into Webpack DefinePlugin
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const fs = require('fs');
17
17
18
18
const protocol = process . env . HTTPS === 'true' ? 'https' : 'http' ;
19
19
const host = process . env . HOST || '0.0.0.0' ;
20
- const sockPath = process . env . WDS_SOCKET_PATH || undefined ; // default: '/sockjs-node'
20
+ const sockPath = process . env . WDS_SOCKET_PATH ; // default: '/sockjs-node'
21
21
22
22
module . exports = function ( proxy , allowedHost ) {
23
23
return {
You can’t perform that action at this time.
0 commit comments