Sa подскажите пожалуйста как решить проблему с cors. Я в самый обычный html добавляю файл js (react) и у меня блокируется данные react из за cors, что делать?
Sa подскажите пожалуйста как решить проблему с cors. Я в самый обычный html добавляю файл js (react) и у меня блокируется данные react из за cors, что делать?
Что-то пошло не так в вопросе, что такое данные реакт?
Access to XMLHttpRequest at 'file:///D:/Java/test2/react.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
Access to XMLHttpRequest at 'file:///D:/Java/test2/react.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.