Skip to content

Commit fc5d405

Browse files
authored
Fix lint
1 parent 0d0df6a commit fc5d405

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
@@ -203,7 +203,7 @@ function addMiddleware(devServer) {
203203
var hpm = httpProxyMiddleware(pathname => mayProxy.test(pathname), {
204204
target: proxy,
205205
logLevel: 'silent',
206-
onProxyReq: function(proxyReq, req, res) {
206+
onProxyReq: function(proxyReq) {
207207
// Browers may send Origin headers even with same-origin
208208
// requests. To prevent CORS issues, we have to change
209209
// the Origin to match the target URL.

0 commit comments

Comments
 (0)