Fixed history endpoint
This commit is contained in:
parent
7bb61ea905
commit
636b14f206
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ async def get_file():
|
|||
return HTMLResponse("\n".join(fp.readlines()))
|
||||
|
||||
|
||||
@router.get("/file", tags=["file"])
|
||||
@router.get("/history")
|
||||
async def get_history(count: int = None) -> []:
|
||||
points = []
|
||||
with open(file_path, "r", encoding="UTF-8") as fp:
|
||||
|
|
Loading…
Reference in a new issue