RJR
Convex Community8mo ago
4 replies
RJ

How to access deployment name inside Convex functions?

Is it possible to access the name of the current deployment (e.g.
purple-dog-123
) inside of a Convex function? I know that much of the time it could be parsed out of the
CONVEX_SITE_URL
or
CONVEX_CLOUD_URL
, but if you're using custom domains, these will contain the custom domain URLs, not the default
https://purple-dog-123.convex.cloud
or whatever.
Was this page helpful?