How do I solve this error in the console for my app, DNAngulator?
Access to fetch at 'https://api.wikitree.com/api.php' from origin 'https://apps.wikitree.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
Issue was caused by manually setting Content-Type header to application/json
Hey,
See eg https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
You don't show any badges, so can't see if you are a member of the apps team. My advice: become a member and reach out to us on Discord. We would need to see your code/details.