Is there an environment variable that I can use to retrieve the auto generated domain of a function. ? I would like to provide it as a callback url to an api. Thanks in advance.
If anything, it might be in the headers. Otherwise, you may need to use an environment variable.
Unfortunately there is no header with the generated domain. I know that I can create a function variable with it but I wanted to have a fully automated process via cli with no human intervention to configure my Appwrite backend instance. I'm almost there this was the last bit of configuration remaining. If someone have a suggestion to retrieve that value via cli that's fine too because then I can create a variable via cli.
Recommended threads
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Function in Node.JS to monitor events ar...
Hello everyone. I'm creating my first Node.JS function, but I don't have much experience with node and javascript. I'm trying to create a function, that monito...