diff --git a/packages/react-scripts/scripts/start.js b/packages/react-scripts/scripts/start.js index a9535e3b404..ecad1a4a020 100644 --- a/packages/react-scripts/scripts/start.js +++ b/packages/react-scripts/scripts/start.js @@ -212,7 +212,8 @@ function addMiddleware(devServer) { onError: onProxyError(proxy), secure: false, changeOrigin: true, - ws: true + ws: true, + xfwd: true }); devServer.use(mayProxy, hpm);