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
- Verification failed
I am unable to connect custom domain. it keeps on verifying and when i refresh it says verification failed. I bought my domain from hostinger. my instance is r...
- Creating Function to Submit Email Form f...
I'm trying to create function for Email Form Submit, I fill parameters correctly using my Resend provider, I connect it to my repository, but when I click on De...
- Trigger Function By Event
Is it normal for an event to take several minutes to trigger the function? I created a user multiple times (Create → Delete → Create → Delete, etc.). Only one ...