plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Problem with CORS

Open Chucholeo387 opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current behavior

When i do a fetch from my local project (Vue3), i received an error from plane API, specifly CORS error. This happened only when a try to do a fetch from my vue3 project, but when i do that fetch from a nodejs file ist ok and return 200. I need to add that request has headers with X-API-Key. What can i do to fix this problem if i want to do fetch from my fronted project?

this is a fetch:

Steps to reproduce

image

Environment

Deploy preview

Browser

Google Chrome

Variant

Local

Version

0.22.0

Chucholeo387 avatar Jul 30 '24 17:07 Chucholeo387