mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 15:15:36 +01:00
16 lines
283 B
Python
16 lines
283 B
Python
from fastapi import APIRouter, Depends
|
|
|
|
from app.depends import check_token
|
|
|
|
|
|
healtcheck_router = APIRouter(
|
|
prefix="/api/v1",
|
|
tags=["healthcheck"],
|
|
dependencies=[Depends(check_token)],
|
|
)
|
|
|
|
|
|
@healtcheck_router.get("/healthcheck")
|
|
async def healthcheck():
|
|
return "Ok!"
|