Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lm-cyber authored Apr 17, 2024
1 parent 53d17bd commit 7bd75f5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ async def lifespan(app: FastAPI):
lifespan=lifespan,
)

app.add_middleware(
CORSMiddleware,
allow_origins=["*"],
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],
)
# app.add_middleware(
# CORSMiddleware,
# allow_origins=["*"],
# allow_credentials=True,
# allow_methods=["*"],
# allow_headers=["*"],
# )


# @app.post(
Expand Down

0 comments on commit 7bd75f5

Please sign in to comment.