mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-27 21:30:54 +00:00
✨ output to latest
This commit is contained in:
@ -2,6 +2,9 @@ from fastapi import FastAPI
|
||||
from nonebot import get_app
|
||||
from .restful_api import *
|
||||
|
||||
@app.get("/")
|
||||
|
||||
@app.get("/ping")
|
||||
async def root():
|
||||
return {"message": "Hello World"}
|
||||
return {
|
||||
"message": "pong"
|
||||
}
|
||||
|
Reference in New Issue
Block a user