mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-14 11:27:37 +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"
|
|
}
|