mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-20 01:43:57 +00:00
feat: add member gpg keys
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
This module provides endpoints for pinging the API.
|
||||
|
||||
Routes:
|
||||
- HEAD /ping: Ping the API.
|
||||
- GET /ping: Ping the API.
|
||||
"""
|
||||
|
||||
import os
|
||||
from sanic import Blueprint, HTTPResponse, Request, response
|
||||
from sanic_ext import openapi
|
||||
|
||||
ping: Blueprint = Blueprint(os.path.basename(__file__).strip(".py"))
|
||||
ping: Blueprint = Blueprint(os.path.basename(__file__).rstrip(".py"))
|
||||
|
||||
|
||||
@ping.head("/ping")
|
||||
@ping.get("/ping")
|
||||
@openapi.summary("Ping the API")
|
||||
async def root(request: Request) -> HTTPResponse:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user