Closed NomadXD closed 4 years ago
@XVincentX Can you please look into this issue and help me out ? Maybe it's just I am missing a simple thing. But nowhere to get help. No example in docs, no gitter and no one answered in stack overflow. Thanks
I fixed the issue. It was due to the dummy client code that I used to test the server. I used XMLHttp request to test before and now I switched to node-fetch to create requests from the client. Now it works fine. I think in XMLHttp implementation of pre flight request and response is different. Not sure though. Since my problem is solved, I am closing the issue.
I am trying to implement CORS policy with express gateway. My front end runs in localhost:3000 and the back end with the api runs on localhost:8080. I am trying to connect my back end and front end using the following configuration.
When I try to send a request, I get the following error.
Can anyone help me to figure it out ? I tried asking the question in glitter channel but no-one responded. What am I missing here ??