Skip to content

Commit

Permalink
add X-FORWARDED headers for proxy requests (facebook#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
johann-sonntagbauer authored and SpaceK33z committed Mar 7, 2017
1 parent 86703ef commit 67986e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-cy-scripts/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ function addMiddleware(devServer) {
onError: onProxyError(proxy),
secure: false,
changeOrigin: true,
ws: true
ws: true,
xfwd: true
});
devServer.use(mayProxy, hpm);

Expand Down

0 comments on commit 67986e5

Please sign in to comment.