makeplane / makeplane/plane

[bug]: Problem with CORS

Open
#5,275 0 comments 0 reactions 2 assignees View on GitHub

@vihar is already working on this.

Since Jul 30, 2024.

🐛bug
Dominant language
TypeScript
Stars
59.6k
Forks
5.8k
Avg merge
1d 22h
Merged PRs (30d)
49

Description

Is there an existing issue for this?
  • 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.