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
- 1.6.2 to 1.7.0
Hi everyone. I am running a self-hosted Appwrite server on version 1.6.2. What is the safest way to migrate to the next version? Should I update directly to...
- Exception: Route not found when calling ...
I have self-hosted v1.8.1 and I am using an Appwrite function with node-appwrite v22. When I call the createVarcharColumn() in my server function I get this exc...
- Document created without ID in console
Hi team, I’m experiencing an issue in the Appwrite console. When I create a document in a collection via the **Collections UI**, the document gets created **wi...