Unable to access env variables using docs instructions In a appwrite cloud function
Hey there 👋 Its a small bug in our docs. in Node, it should be process.env.YOUR_VARIABLE_NAME
where are you seeing this syntax?
Here
can you try clearing your cache?
alright will do so
do you still see {}?
Hey @Steven yes
I still see {}
after clearing all time cached browser data including browsing history and all
Thanks a lot this worked for me
Hmm perhaps there's still application data in the service worker 🧐
I see it sometimes (including in Incognito), but usually a hard reload makes it go away
Recommended threads
- Appwrite freezes when deploying function...
I have two VPS servers, one for development and one for production, and when pushing a function to GitHub all functions should rebuild on both prod and dev but ...
- Invalid `functionId` param when creating...
Upgraded to Appwrite 1.8.0 and new functions can't be created with a "-" character in the function id. This worked fine previously. The docs mention: "Valid cha...
- Function is not executed
my function for sending email when specific events is triggered is not executed sometimes. sometimes is working properly, i am getting email ...when function i...