diff --git a/packages/react-scripts/scripts/start.js b/packages/react-scripts/scripts/start.js index 297507f18c6..5ce896568eb 100644 --- a/packages/react-scripts/scripts/start.js +++ b/packages/react-scripts/scripts/start.js @@ -174,7 +174,7 @@ function addMiddleware(devServer) { // - /index.html (served as HTML5 history API fallback) // - /*.hot-update.json (WebpackDevServer uses this too for hot reloading) // - /sockjs-node/* (WebpackDevServer uses this for hot reloading) - // Tip: use https://www.debuggex.com/ to visualize the regex + // Tip: use https://jex.im/regulex/ to visualize the regex var mayProxy = /^(?!\/(index\.html$|.*\.hot-update\.json$|sockjs-node\/)).*$/; devServer.use(mayProxy, // Pass the scope regex both to Express and to the middleware for proxying