from origin 'http://localhost:3006' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is pres
const instanse = axios.create({
withCredentials: true,
baseURL: 'https://social-network.samuraijs.com/api/1.0/',
// progress: true,
headers: {
'API-KEY' : 'eecd10b4-28d7-4839-aebe-d6acac5e8f6b',
// 'Content-Type': 'application/json',
}
})
Помогите пожалуйста
https://developer.mozilla.org/ru/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
Обсуждают сегодня