8 lines
133 B
Python
8 lines
133 B
Python
|
|
from fastapi import APIRouter
|
||
|
|
|
||
|
|
router = APIRouter(tags=["health"])
|
||
|
|
|
||
|
|
|
||
|
|
@router.get("/health")
|
||
|
|
def health():
|
||
|
|
return {"status": "ok"}
|