GET
/api/resolve-domainResolve custom domain
Look up which project slug owns a custom domain host. Used by edge middleware.
Request
GET /api/resolve-domain?host=blog.example.comResponse
{ "slug": "your-project-slug" }Returns only the slug — never other project fields. 400 if host is missing; 404 if no project matches.