mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-23 03:17: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"
|
|
}
|