Skip to content

Commit c1a72e9

Browse files
gaearonrandycoulman
authored andcommitted
Fix lint
1 parent 279161c commit c1a72e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/scripts/start.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function addMiddleware(devServer) {
205205
var hpm = httpProxyMiddleware(pathname => mayProxy.test(pathname), {
206206
target: proxy,
207207
logLevel: 'silent',
208-
onProxyReq: function(proxyReq, req, res) {
208+
onProxyReq: function(proxyReq) {
209209
// Browers may send Origin headers even with same-origin
210210
// requests. To prevent CORS issues, we have to change
211211
// the Origin to match the target URL.

0 commit comments

Comments
 (0)