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
- Appwrite not sending Emails
I’m running a self-hosted Appwrite instance (v1.8.1) and I can’t get invite emails to send when using the team invite flow described in the docs: https://appwri...
- Fulltext index creation fails due to Inn...
I'm running a self-hosted Appwrite 1.8.1 instance and encountering an issue when creating fulltext indexes on a collection. **The Problem:** Fulltext index cre...
- Function Building show 500 Error
Region: sfo Temple: Starter Function Runtime: Nodejs 22 What happened? Before 2 minutes it show ‘server error.","code":500,"version":"0.7.24"}’ after it show c...