Update main.py

This commit is contained in:
qiaofeng1227 2023-03-20 15:47:42 +08:00 committed by GitHub
parent 0695c07416
commit 7e526436ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,8 @@ def get_app():
app.add_middleware(
CORSMiddleware,
allow_origins=origins,
allow_credentials=True,
allow_origins=["*"],
allow_credentials=False,
allow_methods=["*"],
allow_headers=["*"],
)