13 lines
265 B
Python
13 lines
265 B
Python
# retoor <retoor@molodetz.nl>
|
|
from fastapi import APIRouter
|
|
from fastapi.responses import JSONResponse
|
|
|
|
from molodetz import config
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("")
|
|
async def health():
|
|
return JSONResponse({"status": "ok", "version": config.APP_VERSION})
|