I'm trying to override the APPWRITE_FUNCTION_API_ENDPOINT variable set to localhost/v1 on my local appwrite instance.
I've tried a functions/.env file as stated in https://appwrite.io/blog/post/announcing-local-development
APPWRITE_FUNCTION_API_ENDPOINT=http://host.docker.internal/v1
and also export APPWRITE_FUNCTION_API_ENDPOINT=http://host.docker.internal/v1
but Platform.environment['APPWRITE_FUNCTION_API_ENDPOINT'] always resolves to "localhost/v1"
what am I missing ?
the top level .env is the docker compose env file
Can't Override APPWRITE_FUNCTION_API_ENDPOINT on macos
Recommended threads
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...