burnstony#1975
burnstony#197517mo ago

environment variables

can you reverence an environment variable from a page.tsx file
3 Replies
ian
ian17mo ago
Convex environment variables are only accessible in convex server functions, like query, mutation, action.
burnstony#1975
burnstony#1975OP17mo ago
thanks
erquhart
erquhart17mo ago
Your frontend will have it's own set of environment variables. You mentioned in another thread that you're using Vercel, you'll want to set environment variables with them for use in the client.

Did you find this page helpful?