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
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...