Remix - Deployment
You want to safely use a public API key in your Remix app's client code and keep a secret key only on the server. Which approach correctly manages environment variables?
PUBLIC_ to client code safely; secrets remain server-only.PUBLIC_ and access them in client code; keep secrets without prefix and access only in server code follows this pattern, separating public and secret keys correctly. Others expose secrets or use insecure methods.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions