'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'.
В заголовках Access-Control-Allow-Origin: http://localhost:3000
В Express cors использую, в реакте прокси поставлен, в чем дело?
const cors = require('cors') router.use(cors({ credentials: true, origin: 'http://localhost:3000', optionsSuccessStatus: 200, }))
Обсуждают сегодня