Skip to content

Commit

Permalink
server head request
Browse files Browse the repository at this point in the history
  • Loading branch information
harikris001 committed Nov 13, 2024
1 parent b5a4291 commit 1ceeced
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/routes/server_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@

@router.get('/', status_code=200)
def server_check():
return {"message": "Server is running"}

@router.head('/', status_code=200)
def head_check():
return {"message": "Server is running"}

0 comments on commit 1ceeced

Please sign in to comment.