Answer the question
In order to leave comments, you need to log in
Where to put 'Access-Control-Allow-Origin', '*' in node js?
Making a request from localhost:3000 to localhost:4200 gives an error with the CORS policy. Googled that it is necessary to insert 'Access-Control-Allow-Origin', '*' into the response response, but where exactly?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question