Blocked by CORS policy - After server hosting

In my E-commerce mern app, its perfectly work in my http://localhost:****. When i deployed backend as HTTPS, GET method was working while POST was not. The error showing blocked by cors policy.


CORS configuration would need to be done in the “Express” part of your MERN app. The cors package is a popular choice to implement that.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.