
Hi guys, i developed an uvicorn app with an 'app' object in my main file but no matter which entrypoint I choose in the function settings it doesnt start the server.
I'm wondering if uvicorn for functions is evren supported? or do i need to rewrite all my uvicorn endpoints to accept through the 'context' param passed to all appwrite functions.
here is a snippet from the uvicorn app file: app = FastAPI()
Allow frontend (Vercel-hosted React) to access backend.
app.add_middleware( CORSMiddleware, allow_origins=[""], # Adjust this in production. allow_credentials=True, allow_methods=[""], allow_headers=["*"], )
Recommended threads
- API preflight request not working on .f...
When I am calling a function on my APP through the domain is failing. Because the preflight request (OPTIONS HTTP request) times out. this only occurs with fu...
- No Headers
Hi I have 2 appwrite functions, one is working fine on localhost, second is not even working on prod with https, i inspected the api call, no headers are being ...
- Cloud Function Deployment crashing
My golang cloud function crashes on deployment and its a bit non-descript. Here is the error message. It says "Document already exists". This is a general probl...
