fix: fix bugs. Remove unnecessary code.

This commit is contained in:
EstrellaXD
2023-08-06 17:01:46 +08:00
parent d768299c7f
commit 4d2c4b80a7
4 changed files with 4 additions and 18 deletions

View File

@@ -21,7 +21,6 @@ async def startup():
@router.on_event("shutdown")
async def shutdown():
program.stop()
sys.exit(0)
@router.get("/restart")