Netlify variables must be set in the correct context and exposed with the framework-specific public prefix when used in the browser.
Platform: Netlify
Error: Environment variables undefined
Netlify variables must be set in the correct context and exposed with the framework-specific public prefix when used in the browser.
VITE_API_URL=https://api.example.com NEXT_PUBLIC_SITE_URL=https://example.com
Do not expose private tokens through public frontend prefixes.
Send the deploy log, repository link, target platform, and expected URL. ShipFast Deploy Rescue is a fixed-price debugging service for indie projects and MVPs.