mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-04-30 06:24:27 +02:00

* refactor: import routers from old branch * refactor: import InternalCache removal * refactor: move routes into dedicated routers * fix: fixes entrypoint * refactor: add documentation and bump libs
12 lines
274 B
Python
12 lines
274 B
Python
from fastapi import APIRouter, Request, Response
|
|
|
|
router = APIRouter()
|
|
|
|
@router.head('/ping', status_code=204, tags=['Ping'])
|
|
async def ping(request: Request, response: Response) -> None:
|
|
"""Check if the API is running.
|
|
|
|
Returns:
|
|
None
|
|
"""
|
|
return None |