Add healthcheck

This commit is contained in:
2022-02-05 11:17:40 +03:00
parent c9574c8aab
commit 6894379c19
3 changed files with 18 additions and 0 deletions

View File

@@ -28,3 +28,8 @@ async def get_filename(book_id: int, file_type: str):
book = await BookLibraryClient.get_book(book_id)
return _get_filename(book.remote_id, book, file_type)
@router.get("/healthcheck")
async def healthcheck():
return "Ok!"