output to latest

This commit is contained in:
2024-05-14 10:37:32 +08:00
parent e843d790b1
commit 6d3d3fc52c
2 changed files with 6 additions and 3 deletions

View File

@ -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"
}