How to access `VERCEL_URL` env var client-side in a SvelteKit app?

I checked with the Svelte team and they confirmed that the SvelteKit docs have it right.

I’ve opened a ticket to get the Vercel environment variable docs updated to avoid confusion. Thanks for letting us know about it!