Spaces:
Running
on
Zero
Running
on
Zero
from modules.api import utils as api_utils | |
from modules.api.Api import APIManager | |
from modules import config | |
def setup(app: APIManager): | |
async def ping(): | |
return api_utils.success_response("pong") | |
async def get_versions(): | |
return api_utils.success_response(config.versions.to_dict()) | |