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