
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
- Stripe Payment Webhook Function
I'm seeing this error in console: ``` Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received ...
- pushibg function
Iam running appwrite locally, and when i try to push a funtion , it shows this error.
- Function Deployment is failing with erro...
Error message: Invalid document structure: Attribute "$tenant" has invalid type. Value must be a valid integer. While deploying the function, it fails with abov...
