akarsh1995/leetcode-graphql-queries

How to bypass the cors error

Zaid944 opened this issue · 4 comments

Got this error
Access to XMLHttpRequest at 'https://leetcode.com/graphql/' from origin 'http://localhost:5173' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

same issue here. let me know if u find any fix.

Make sure Origin is set to https://leetcode.com

image

Authenticated requests must have these headers

image

Make sure Origin is set to https://leetcode.com

image

How do i set it .. iam still getting preflight error