Создал папку example в openserver в котором будет backend моего сайта на react. В react я выполнял fetch
example/goods.php чтоб взять от туда список продуктов в консоле вижу ошибку. Пж помогите решить.
Access to fetch at 'http://example/goods.php' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.