Rank 2: Process
I have hosted an Appwrite backend on a digital ocean droplet. I also have a flutter front-end website that i have hosted on a separate digital ocean droplet within a docker container. When I currently send requests to my appwrite instance I get these errors:
[Error] Origin http://demo.edventures.ai is not allowed by Access-Control-Allow-Origin. Status code: 403
[Error] XMLHttpRequest cannot load http://178.128.196.153/v1/account due to access control checks.
[Error] Failed to load resource: Origin http://demo.edventures.ai is not allowed by Access-Control-Allow-Origin. Status code: 403 (account, line 0)
It seems that these are CORS errors. I have been asked to update CORS settings by adding my front-end website address to the list of allowed origins. How can I do this? I do not see any settings inside of the Appwrite console to do this.