JakovJ
Convex Community2mo ago
25 replies
Jakov

Vercel deployment urls

I'm trying to make my app work with preview deployments. I'm using vercel, and I have a question.

My better auth implementation requires SITE_URL environment variable to be set on the Convex side, but for preview deployments on vercel (Vercel PR previews), it's always different. What should I do?

Not only that, but I also require NEXT_PUBLIC_CONVEX_SITE_URL on the Vercel side, which is always different.
Was this page helpful?