L
L
lssssssssssl2021-09-09 12:57:04
CORS
lssssssssssl, 2021-09-09 12:57:04

Occasionally there is an error with the Corso. How to fix?

Front on react, back on nestjs(express). Corsa is unlocked, but occasionally an error occurs when sending audio to the back:
"has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
If you run the application on the localhost, no errors occur, only in the prod (on aws).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question