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
- Self-host migration from 1.8.X
Is it safe to now migrate from 1.7.4 to 1.8.X on my selfhost?
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...