Set NEXT_PUBLIC_CONVEX_URL in .env.local, then restart the dev server.
NEXT_PUBLIC_CONVEX_URL
.env.local