Hi, I’ve deployed my site - https://nervous-einstein-a721bb.netlify.app
for development I have an API key stored in env.local which works fine.
for deployment, I have set an env variable for the API through Netlify’s build and deploy settings. When I try to access it in the get request, it’s returned as undefined.
when I console log process.env in development, I, the key shows up, but when It’s logged in the deployed site, the variable I made in the build and deploy settings are not there at all in process.env, so I guess that’s why it’s giving me undefined.
So any idea why I’m not able to access the environment variable? thanks!