Monday, 7 September 2020

Difference between proxy vs cors?

people seem to bypass cors by having a proxy such as having this in you React's package. json"proxy": { "/": { "target": "http://localhost:5000" } }, ​Why not just install cors?var cors = require('cors') app.use(cors())

Submitted September 08, 2020 at 05:14AM by badboyzpwns

No comments:

Post a Comment