mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-27 08:45:06 +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"
|
|
}
|