diff --git a/app.py b/app.py index 2549fa7..52d93f4 100644 --- a/app.py +++ b/app.py @@ -7,6 +7,8 @@ app = FastAPI() app.add_middleware( CORSMiddleware, + allow_origin=["*"], + allow_credentials=True, allow_methods=["POST, GET, PATCH, DELETE"], allow_headers=["*"] )