fix: CORS ISSUE

This commit is contained in:
Project_IO 2024-09-11 01:42:29 +09:00
parent ed35341316
commit ff65e414f7

2
app.py
View file

@ -9,7 +9,7 @@ app.add_middleware(
CORSMiddleware,
allow_origins=["*"],
allow_credentials=True,
allow_methods=["POST, GET, PATCH, DELETE"],
allow_methods=["*"],
allow_headers=["*"]
)