Hey,
You can create NEXT_PUBLIC_WEBSITE_URL and use $VERCEL_URL to point them. We have a community post that you can refer:
NEXT_PUBLIC_WEBSITE_URL
$VERCEL_URL