Skip to content

Commit

Permalink
fix app lifespan
Browse files Browse the repository at this point in the history
  • Loading branch information
devgenix committed Dec 26, 2023
1 parent 1584a7a commit 0672651
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agenta-backend/agenta_backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ async def lifespan(application: FastAPI, cache=True):
yield


# app = FastAPI(lifespan=lifespan)
app = FastAPI()
app = FastAPI(lifespan=lifespan)

allow_headers = ["Content-Type"]

Expand Down

0 comments on commit 0672651

Please sign in to comment.