mirror of
https://github.com/devproje/balance-application.git
synced 2024-10-20 15:11:21 +00:00
feat: cors issue fixed
This commit is contained in:
parent
d9440c4aee
commit
98cc3edf93
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -7,7 +7,7 @@ app = FastAPI()
|
|||
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origin=["*"],
|
||||
allow_origins=["*"],
|
||||
allow_credentials=True,
|
||||
allow_methods=["POST, GET, PATCH, DELETE"],
|
||||
allow_headers=["*"]
|
||||
|
|
Loading…
Reference in a new issue