feat: healthcheck endpoint file
This commit is contained in:
8
routes/health.py
Normal file
8
routes/health.py
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
from fastapi import APIRouter
|
||||||
|
|
||||||
|
router = APIRouter(prefix="/health")
|
||||||
|
|
||||||
|
|
||||||
|
@router.get("/")
|
||||||
|
async def healthcheck():
|
||||||
|
return "OK"
|
||||||
Reference in New Issue
Block a user