I have disabled cors on chrome and my function is accessible on my frontend but not working unless i disable cors. I have added the domain to platform and not fixed. Any help on this will be appreciated.
TL;DR
Issue: CORS policy blocking access to function on frontend even after disabling CORS in Chrome and adding domain to platform.
Solution: The CORS policy can be circumvented by adding appropriate headers to the response in the backend code. Ensure that the backend server responds with the proper CORS headers to allow frontend access to the function.Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- 401 - Project not accessible in this reg...
Hi Appwrite team, I’m experiencing a Cloud Console issue with my NYC region project. Problem: - Some Console pages return: “401 - Project is not accessible ...