
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
- Auth Error
"use client"; import { useEffect } from "react"; import { getSessionCookie } from "@/actions/auth"; import { createBrowserSessionClient } from "@/lib/appwrite-...
- Prevent modifying specific attributes
How do I prevent user to only to be able to modify some of the attributes. Document level security gives full access to update whole document, what are the wor...
- Bypass Error When Creating Account With ...
Suppose user first uses email/pass for log in using xyz@gmail.com, few month later on decides to use google oauth2 with same xyz@gmail.com (or in reverse orde...
