mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-26 05:55:04 +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"
|
|
}
|