
Hello, how can I add env variables to the functions that I'm going to deploy in Appwrite.json?


Under the function

The param variables

takes a json object of key-value pairs for variables 😉

You save me a lot of time @VincentGe Thank you so much!

[SOLVED] How to add env variables to functions in Appwrite.json?

Btw, I have to deploy twice in order to my function takes the env variables.
Just in case for someone is useful info.

Re-opening this!

How to add env variables to functions in Appwrite.json?
Recommended threads
- unable to remove project 500 error
We are unable to remove a project, when clicking setting option it showing 500 Server Error
- API preflight request not working on .f...
When I am calling a function on my APP through the domain is failing. Because the preflight request (OPTIONS HTTP request) times out. this only occurs with fu...
- How to run queries to get the storage li...
I installed the n8n (self-hosting) and community node n8n-nodes-nappwrite. I tried to get the storage list files more than 25 records. But I cannot find the w...
