Hi, I couldn't find a way to solve cors for the function with the custom domain I've added. For Project level custom domain it is handled by the hostname and platform combination.
Please share me the solution / workaround if any.
You'll need to add the CORS yourself
For example allow all
return res.json(response,200,{'Access-Control-Allow-Origin': '*',})
Recommended threads
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Hi Appwrite Support Team,My project has ...
Details: Project ID: 69a69f6f00113ed0e8e4 Region: SFO (sfo.cloud.appwrite.io) Error Response: Affected: ALL endpoints ā Functions, Databases, Storage, Health, ...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...