Skip to content

Commit 67986e5

Browse files
johann-sonntagbauerSpaceK33z
authored andcommitted
add X-FORWARDED headers for proxy requests (facebook#1677)
1 parent 86703ef commit 67986e5

File tree

1 file changed

+2
-1
lines changed
  • packages/react-cy-scripts/scripts

1 file changed

+2
-1
lines changed

packages/react-cy-scripts/scripts/start.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ function addMiddleware(devServer) {
220220
onError: onProxyError(proxy),
221221
secure: false,
222222
changeOrigin: true,
223-
ws: true
223+
ws: true,
224+
xfwd: true
224225
});
225226
devServer.use(mayProxy, hpm);
226227

0 commit comments

Comments
 (0)