Skip to content

Commit

Permalink
Merge pull request #169 from DocShow-AI/dev
Browse files Browse the repository at this point in the history
create test endpoint
  • Loading branch information
liberty-rising authored Jan 5, 2024
2 parents 3b69487 + 5b8c256 commit 33ccea1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ async def shutdown_event():
pass


@app.get("/")
def read_root():
return {"Hello": "World"}


# Registering the startup and shutdown events
app.router.on_startup.append(startup_event)
app.router.on_shutdown.append(shutdown_event)
Expand Down

0 comments on commit 33ccea1

Please sign in to comment.