Updated react-dev-utils

This commit is contained in:
Alejandro Celaya
2020-11-14 10:24:15 +01:00
parent 4621246cec
commit aba65346b4
4 changed files with 438 additions and 838 deletions

View File

@@ -110,7 +110,7 @@ module.exports = function(proxy, allowedHost) {
// We do this in development to avoid hitting the production cache if
// it used the same host and port.
// https://github.com/facebook/create-react-app/issues/2272#issuecomment-302832432
app.use(noopServiceWorkerMiddleware());
app.use(noopServiceWorkerMiddleware(paths.publicUrl));
},
};
};