mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-11 09:37:29 +08:00
11 lines
170 B
Python
11 lines
170 B
Python
from fastapi import FastAPI
|
|
from nonebot import get_app
|
|
from .restful_api import *
|
|
|
|
|
|
@app.get("/ping")
|
|
async def root():
|
|
return {
|
|
"message": "pong"
|
|
}
|