We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 279161c commit c1a72e9Copy full SHA for c1a72e9
packages/react-scripts/scripts/start.js
@@ -205,7 +205,7 @@ function addMiddleware(devServer) {
205
var hpm = httpProxyMiddleware(pathname => mayProxy.test(pathname), {
206
target: proxy,
207
logLevel: 'silent',
208
- onProxyReq: function(proxyReq, req, res) {
+ onProxyReq: function(proxyReq) {
209
// Browers may send Origin headers even with same-origin
210
// requests. To prevent CORS issues, we have to change
211
// the Origin to match the target URL.
0 commit comments