Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681972yThe error says everything you need to know, and yet.... it still eludes you.
@lmddgtfy web Cors localhost Mozilla -
irene33952yI have actually been dealing with similar today. It wasn’t actually because of CORS. It was because of a node version change from v12 to v14 on one of our APIs. Express is now actively terminating requests on node 14.
The UI accessing the API is using XmlHttpRequest inside Axios and it wasn’t handling the ECONNECTIONREFUSED in Firefox. When I opened in chrome I saw it is actively rejecting. My problem for tomorrow is fixing the api. -
sleek34562yjust make sure the api sends the allpw Origin * header. Security be damned they probably dont pay you enough to care anyway
do you know how to solve this issue
question