How to set proxy for cross origin problems? #4854
-
In react, i cound write a |
Beta Was this translation helpful? Give feedback.
Answered by
DeMoorJasper
Jul 7, 2020
Replies: 1 comment 2 replies
-
In Parcel 1 this does not exist, in Parcel 2 it works pretty much the same, the proxy field in package.json is supported and the js file is called |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
DeMoorJasper
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Parcel 1 this does not exist, in Parcel 2 it works pretty much the same, the proxy field in package.json is supported and the js file is called
.proxyrc.js