George SadekOriginal post
Flutter Developer
appwrite Access to XMLHttpRequest at 'https://cloud.doctorinphysics.com/v1/account?#' from origin 'https://receipts.doctorinphysics.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://localhost' that is not equal to the supplied origin.
Summary
The user had an Appwrite CORS error in their Flutter web app. The solution was to add 'https://receipts.doctorinphysics.com/' as a Flutter web platform in the project overview page. The error was due to a typo in the URL. Once the correction was made, the CORS error was resolved.