Open uezo opened 8 months ago
__main__.py
app.add_middleware( CORSMiddleware, allow_origins=[*], allow_credentials=True, allow_methods=["*"], allow_headers=["*"], )
https://fastapi.tiangolo.com/tutorial/cors/
__main__.py
): Allow any origins.https://fastapi.tiangolo.com/tutorial/cors/