Closed louatiSaadeddine closed 2 years ago
The server that is online at https://push-notification-demo-server.herokuapp.com accepts CORS request only from these origins:
If you need to run the react front-end from another origin, consider deploying your own server with the env variable CORS_ORIGIN
. The value of this variable has to be a comma-separated list of origins you accept.
Cross-Origin Request Blocked with React and Express, so you have to use CORS module with right way